SPTheme.GetThemeShadeByName method
Gets a theme shade by name
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetThemeShadeByName ( _
colorName As String _
) As Color
'Usage
Dim instance As SPTheme
Dim colorName As String
Dim returnValue As Color
returnValue = instance.GetThemeShadeByName(colorName)
public Color GetThemeShadeByName(
string colorName
)
Parameters
- colorName
Type: System.String
Return value
Type: System.Drawing.Color
A color representing the theme shade.
Implements
ISPTheme.GetThemeShadeByName(String)