6 recordcollection, 1 properties, Recordcollection.count – Campbell Scientific LoggerNet Server SDK User Manual

Page 153: Name, Description, Com return values, 2 methods, Recordcollection.item(), Recordcollection._newenum(), Important

Advertising
background image

Section 18. CsiDataSource Control Reference

18.6 RecordCollection

18.6.1 Properties

RecordCollection.Count

Name

RecordCollection.Count As Long

Description

The number of values in the collection

COM Return Values

Table of Possible Values

Code Meaning

S_OK Success:

Normal

Return

18.6.2 Methods

RecordCollection.Item()

Name

RecordCollection.Item(Value id, Record ppIRecord)

Description

This method is used to iterate through the values by the specified index ID.

COM Return Values

Table of Possible Values

Code Meaning

S_OK Success:

Normal

return

E_CSI_ARRAY_OUT_OF_BOUNDS

Error: Array out of bounds

E_CSI_FAIL

Error: An unexpected error has
occurred

RecordCollection._NewEnum()

Name

RecordCollection._NewEnum()

Important

This method is not accessed directly. It is used indirectly with the use of a For
Each loop.

18-29

Advertising