OPC Labs Base Library
IndexOf Method
OpcLabs_BaseLib ActiveX DLL > GenericDataCollection Collection : IndexOf Method

Description
Searches for the specified object and returns the zero-based index of the first occurrence within the entire collection.

 

DISPID (Dispatch ID):

 

For more information, see IndexOf in .NET Reference.

Syntax
Visual Basic
Public Function IndexOf( _
   ByVal Item As Variant _
) As Long
Parameters
Item

Return Type

See IndexOf in .NET Reference.

Remarks

For remarks, see IndexOf in .NET Reference.

Example

For examples, see IndexOf in .NET Reference.

See Also

GenericDataCollection Collection  | GenericDataCollection Members