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.
 
            
DISPID (Dispatch ID):
For more information, see IndexOf in .NET Reference.
| Visual Basic | 
|---|
| Public Function IndexOf( _ ByVal Item As Variant _ ) As Long | 
See IndexOf in .NET Reference.
For remarks, see IndexOf in .NET Reference.
For examples, see IndexOf in .NET Reference.