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

Detailed Description

Collection of value table entries. Represents a value table.

interface IValueTableEntryCol : ICol
{
HRESULT Item([in] VARIANT vIndex, [out, retval] IValueTableEntry**);
HRESULT AddValueTableEntry([in] BSTR sDescription, [in] long nValueFrom, [in] long nValueTo, [out, retval] IValueTableEntry**);
HRESULT AddItem(IValueTableEntry* pEntry);
HRESULT Delete([in] long nIndex);
};

Definition at line 2237 of file cand_tlb.idl.

Member Function Documentation

◆ AddItem()

HRESULT CanEasy::IValueTableEntryCol::AddItem ( IValueTableEntry pEntry)

Adds a new value table entry from passed object

Parameters
pEntryPointer of value table entry to add into this table

◆ AddValueTableEntry()

HRESULT CanEasy::IValueTableEntryCol::AddValueTableEntry ( [in] BSTR  sDescription,
[in] long  nValueFrom,
[in] long  nValueTo,
[out, retval] IValueTableEntry **   
)

Adds a new value table entry into the table

Parameters
sDescriptionDescription of the value table entry
nValueFromLower bound raw value
nValueToUpper bound raw value
Returns
New created value table entry

◆ Delete()

HRESULT CanEasy::IValueTableEntryCol::Delete ( [in] long  nIndex)

Deletes a value table entry by index

Parameters
nIndexIndex of table to be deleted

Property Documentation

◆ Item

IValueTableEntry CanEasy::IValueTableEntryCol::Item([in] VARIANT vIndex)
get

Returns a value table entry by name or index

CanEasy::IValueTableEntryCol::Item
IValueTableEntry Item([in] VARIANT vIndex)
CanEasy::IValueTableEntryCol::Delete
HRESULT Delete([in] long nIndex)
CanEasy::IValueTableEntryCol::AddItem
HRESULT AddItem(IValueTableEntry *pEntry)
CanEasy::IValueTableEntryCol::AddValueTableEntry
HRESULT AddValueTableEntry([in] BSTR sDescription, [in] long nValueFrom, [in] long nValueTo, [out, retval] IValueTableEntry **)