SPThemeInfo.GetThemeShadeByName method

Gets the theme color for the specified name.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function GetThemeShadeByName ( _
    name As String _
) As String
'Usage
Dim instance As SPThemeInfo
Dim name As String
Dim returnValue As String

returnValue = instance.GetThemeShadeByName(name)
public string GetThemeShadeByName(
    string name
)

Parameters

Return value

Type: System.String
The theme color, or a null reference (Nothing in Visual Basic) if no such color slot exists.

See also

Reference

SPThemeInfo class

SPThemeInfo members

Microsoft.SharePoint namespace