OPC Labs EasyOPC-UA Library
IndexOf Method
OpcLabs_EasyOpcUA ActiveX DLL > UADiscoveryElementCollection 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

UADiscoveryElementCollection Collection  | UADiscoveryElementCollection Members