Returns the index of the specified style in the collection.
            
            
            
Syntax
            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
 
            
						
            
            
            
            
Example
This example illustrates the use of this member by returning the index of one of the named styles in the collection.
            
            
            
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
 
            
            
See Also