Com return values, 4 tablecollection interface, 1 properties – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual

Page 88: Tablecollection.count, Name, Description, 2 methods, Tablecollection.item(), Prototypes

Advertising
background image

Section 16. CsiBrokerMap Control Reference

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

16.4 TableCollection Interface

16.4.1 Properties

TableCollection.Count

Name

TableCollection.Count As Long

Description

This property returns the number of tables in a TableCollection

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

16.4.2 Methods

TableCollection.Item()

Name

TableCollection.Item(id) As Table

Description

Returns the requested table if it exists. A table can be referenced by a number
(like an index), or by a string (the name of the table). If the number is less than
zero or is greater than the number of tables, then the error

E_CSI_ARRAY_OUT_OF_BOUNDS

will be returned. If the table cannot be found

by name, then the error

E_CSI_NOT_FOUND

will be returned.

Prototypes

TableCollection.Item(Number) - Array index.
TableCollection.Item(String) - Table name.

16-12

Advertising