'Declaration Public Function IndexOf( _ ByVal style As NamedStyle _ ) As Integer
'Usage Dim instance As DefaultStyleCollection Dim style As NamedStyle Dim value As Integer value = instance.IndexOf(style)
public int IndexOf( NamedStyle style )
Parameters
- style
- NamedStyle object for which to search
Return Value
Zero-based Integer index of the object in the collection, or -1 if the object was not found