| Visual Basic (Declaration) | |
|---|---|
Public Shared Function IndexOf( _ ByVal skin As SpreadSkin _ ) As Integer  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim skin As SpreadSkin Dim value As Integer value = DefaultSpreadSkins.IndexOf(skin)  | |
| C# | |
|---|---|
public static int IndexOf( SpreadSkin skin )  | |
Parameters
- skin
 - Name of the built-in skin for which to return the index
 
Return Value
Index of the object in the collection, or -1 if the object is not foundTarget Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8