'Declaration
Public Function IndexOf( _ ByVal value As TemplateImage _ ) As Integer
'Usage
Dim instance As TemplateImageCollection Dim value As TemplateImage Dim value As Integer value = instance.IndexOf(value)
public int IndexOf( TemplateImage value )
public: int IndexOf( TemplateImage^ value )
Parameters
- value
- The object to search for in the collection.
Return Value
If the TemplateImage 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.