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
name
Type: System.StringThe name of the color slot.
Return value
Type: System.String
The theme color, or a null reference (Nothing in Visual Basic) if no such color slot exists.