CanEasy COM-Help
CanEasy::ICanEasyTree Interface Reference

Inherits IDispatch.

Detailed Description

Tree of CanEasy.

Allows adding new items into tree view to interact with the user

interface ICanEasyTree : IDispatch
{
HRESULT Item([in] BSTR sItemRef, [in] BSTR sItemType, [out, retval] ICanEasyItemCom**);
HRESULT CreateItem([out, retval] ICanEasyItemCom**);
HRESULT AddRootItem([in] ICanEasyItemCom *pItem, [in] long lPos);
};

Definition at line 6845 of file cand_tlb.idl.

Member Function Documentation

◆ AddRootItem()

HRESULT CanEasy::ICanEasyTree::AddRootItem ( [in] ICanEasyItemCom pItem,
[in] long  lPos 
)

Adds a new root CanEasyItem into the tree

Parameters
pItemPointer to CanEasyItem to insert
lPosPosition to insert

◆ CreateItem()

HRESULT CanEasy::ICanEasyTree::CreateItem ( [out, retval] ICanEasyItemCom **  )

Creates a new CanEasyItem without database reference

◆ Item()

HRESULT CanEasy::ICanEasyTree::Item ( [in] BSTR  sItemRef,
[in] BSTR  sItemType,
[out, retval] ICanEasyItemCom **   
)

Returns a new CanEasy item for a database reference

Parameters
sItemRefString reference (path) to database item
sItemTypeString type of the database item. This can be empty string a path is valid
Returns
New created CanEasyItem
CanEasy::ICanEasyTree::CreateItem
HRESULT CreateItem([out, retval] ICanEasyItemCom **)
CanEasy::ICanEasyTree::Item
HRESULT Item([in] BSTR sItemRef, [in] BSTR sItemType, [out, retval] ICanEasyItemCom **)
CanEasy::ICanEasyTree::AddRootItem
HRESULT AddRootItem([in] ICanEasyItemCom *pItem, [in] long lPos)