CanEasy COM-Help
CanEasy::INamespaceCol Interface Reference
Inheritance diagram for CanEasy::INamespaceCol:
CanEasy::ICol CanEasy::IEnvVarDatabase

Detailed Description

Collection of namespaces.

Allows to structure the variables. A namespace can contain other namespaces which can contain variables.

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

Definition at line 2672 of file cand_tlb.idl.

Member Function Documentation

◆ AddItem()

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

Adds an already created namespace into the collection

◆ AddNamespace()

HRESULT CanEasy::INamespaceCol::AddNamespace ( [in] BSTR  sName,
[out, retval] INamespace **   
)

Adds a new namespace into the collection

Parameters
sNameName of the new namespace
Returns
Pointer to new created namespace

Property Documentation

◆ Item

INamespace CanEasy::INamespaceCol::Item([in] VARIANT vIndex)
get

Returns a namespace by index or name

CanEasy::INamespaceCol::AddNamespace
HRESULT AddNamespace([in] BSTR sName, [out, retval] INamespace **)
CanEasy::INamespaceCol::Item
INamespace Item([in] VARIANT vIndex)
CanEasy::INamespaceCol::AddItem
HRESULT AddItem(IDatabaseItem *pData)