CanEasy COM-Help
CanEasy::IValueTable Interface Reference
Inheritance diagram for CanEasy::IValueTable:
CanEasy::IDatabaseItem

Detailed Description

Value table to map raw value to readable text.

interface IValueTable : IDatabaseItem
{
HRESULT Entry([in] long nIndex, [out, retval] struct ValueEntry*);
HRESULT Count([out, retval] LONG*);
HRESULT Add([in] struct ValueEntry* pEntry, [out,retval] LONG*);
HRESULT TableEntry([in] long nIndex, [out, retval] struct ValueRangeEntry*);
HRESULT Insert([in] struct ValueRangeEntry* pEntry, [out, retval] LONG*);
HRESULT TableEntries([out, retval] IValueTableEntryCol**);
};

Definition at line 2293 of file cand_tlb.idl.

Member Function Documentation

◆ Add()

HRESULT CanEasy::IValueTable::Add ( [in] struct ValueEntry pEntry,
[out, retval] LONG *   
)

Deprecated: Adds a new table entry.

Was replaced by property TableEntries

Parameters
pEntryStruct with value and description
Returns
Index of new entry

◆ Insert()

HRESULT CanEasy::IValueTable::Insert ( [in] struct ValueRangeEntry pEntry,
[out, retval] LONG *   
)

Deprecated: Inserts a new table entry with min, max, desc.

Was replaced by property TableEntries

Returns
Index of new entry

Property Documentation

◆ Count

LONG CanEasy::IValueTable::Count
get

Returns the count of table entries

◆ Entry

ValueEntry CanEasy::IValueTable::Entry([in] long nIndex)
get

Deprecated: Returns an entry of the table by index.

Was replaced by property TableEntries

◆ TableEntries

IValueTableEntryCol CanEasy::IValueTable::TableEntries
get

Returns a collection containing all entries. Via this collection you can add and delete new value tables.

◆ TableEntry

ValueRangeEntry CanEasy::IValueTable::TableEntry([in] long nIndex)
get

Deprecated: Returns a table entry by index.

Was replaced by property TableEntries

Returns
Struct with value min/max and description
CanEasy::IValueTable::TableEntries
IValueTableEntryCol TableEntries
CanEasy::IValueTable::Count
LONG Count
CanEasy::IValueTable::Entry
ValueEntry Entry([in] long nIndex)
Deprecated: Returns an entry of the table by index.
CanEasy::IValueTable::TableEntry
ValueRangeEntry TableEntry([in] long nIndex)
Deprecated: Returns a table entry by index.
CanEasy::IValueTable::Insert
HRESULT Insert([in] struct ValueRangeEntry *pEntry, [out, retval] LONG *)
Deprecated: Inserts a new table entry with min, max, desc.
CanEasy::IValueTable::Add
HRESULT Add([in] struct ValueEntry *pEntry, [out, retval] LONG *)
Deprecated: Adds a new table entry.