OPC Studio User's Guide and Reference
IndexOf Method (_GenericDataCollection)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel.ComTypes Namespace > _GenericDataCollection Interface : IndexOf Method

The value of this parameter cannot be null (Nothing in Visual Basic).

Syntax
'Declaration
 
Function IndexOf( _
   ByVal item As Object _
) As Integer
'Usage
 
Dim instance As _GenericDataCollection
Dim item As Object
Dim value As Integer
 
value = instance.IndexOf(item)
int IndexOf( 
   object item
)
int IndexOf( 
   Object^ item
) 

Parameters

item

The value of this parameter cannot be null (Nothing in Visual Basic).

Remarks

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also