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