CanEasy COM-Help
CanEasy::IEnvVarCol Interface Reference
Inheritance diagram for CanEasy::IEnvVarCol:
CanEasy::ICol

Detailed Description

Collection of environment variables

interface IEnvVarCol : ICol
{
HRESULT Item([in] VARIANT vIndex, [out, retval] IEnvVar**);
HRESULT AddEnvVar([in] BSTR sName, [out, retval] IEnvVar**);
HRESULT AddItem(IDatabaseItem* pData);
};

Definition at line 2571 of file cand_tlb.idl.

Member Function Documentation

◆ AddEnvVar()

HRESULT CanEasy::IEnvVarCol::AddEnvVar ( [in] BSTR  sName,
[out, retval] IEnvVar **   
)

Adds a new variable

Parameters
sNameName of the variable
Returns
Pointer of new variable

◆ AddItem()

HRESULT CanEasy::IEnvVarCol::AddItem ( IDatabaseItem pData)

Adds an already created variable

Property Documentation

◆ Item

IEnvVar CanEasy::IEnvVarCol::Item([in] VARIANT vIndex)
get

Returns a variable by index or name

CanEasy::IEnvVarCol::Item
IEnvVar Item([in] VARIANT vIndex)
CanEasy::IEnvVarCol::AddItem
HRESULT AddItem(IDatabaseItem *pData)
CanEasy::IEnvVarCol::AddEnvVar
HRESULT AddEnvVar([in] BSTR sName, [out, retval] IEnvVar **)