'Declaration
Public Function IndexOf( _ ByVal item As ItemTemplate _ ) As Integer
'Usage
Dim instance As ItemTemplateCollection Dim item As ItemTemplate Dim value As Integer value = instance.IndexOf(item)
public int IndexOf( ItemTemplate item )
Parameters
- item
- A SubItem object that need to find the index.
Return Value
The index if the object is found in the collection; otherwise,-1.