3 datacolumncollection interface, 1 properties, Datacolumncollection.count – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual

Page 146: Name, Description, Com return values, 2 methods, Datacolumncollection.add()

Advertising
background image

Section 18. CsiDataSource Control Reference

18.3 DataColumnCollection Interface

18.3.1 Properties

DataColumnCollection.count

Name

DataColumnCollection.count As Long

Description

This property returns the number of DataColumns in the collection.

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

18.3.2 Methods

DataColumnCollection.add()

Name

DataColumnCollection.add(String column_name)

Description

This method adds a column name to the collection of DataColumns. By adding
a column name to this collection, you tell the advisor to retrieve values in the
record for that column. The column name added must be valid for the station
and table specified in the advisor. If no column names are added to this
collection, data records will only contain file mark numbers, record numbers,
and timestamps.

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

E_FAIL

Error: The column name is not a valid column for this station
and table

18-22

Advertising