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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2