Brokercollection._newenum(), Name, Important – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual

Page 85: Visual basic, 3 broker interface, 1 properties, Broker.id, Description, Com return values, Broker.name

Advertising
background image

Section 16. CsiBrokerMap Control Reference

BrokerCollection._NewEnum()

Name

BrokerCollection._NewEnum() — Return the next broker in the
broker map sequence.

Important

This method is only intended for use with the Visual Basic programming
language. Visual Basic programmers do not need to access this method
directly but can use it indirectly with the

For Each

loop. This method is

included in the documentation to explain why the method exists, but, again, it
is not accessed directly.

Visual Basic

Example
Dim b As Broker
For Each b in BrokerMap.Brokers

Debug.print b.name
Next

16.3 Broker Interface

16.3.1 Properties

Broker.ID

Name

Broker.id As Long

Description

This is a read-only property describing the unique ID of each broker.

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

Broker.name

Name

Broker.name As String

Description

This read-only property returns the name of a broker.

16-9

Advertising