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