Dim instance As DataItemCollection Dim type As String Dim value As Integer value = instance.GetIndexOfType(type)
Parameters
- type
- The type to search for in the collection.
Return Value
If the DataItem is present in the collection, this method will return the zero-based index of the first occurrence of it; otherwise this method will return -1.