ISPTheme.GetThemeShadeByNameOrNull method
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Function GetThemeShadeByNameOrNull ( _
colorName As String, _
fixContrast As Boolean _
) As Nullable(Of Color)
'Usage
Dim instance As ISPTheme
Dim colorName As String
Dim fixContrast As Boolean
Dim returnValue As Nullable(Of Color)
returnValue = instance.GetThemeShadeByNameOrNull(colorName, _
fixContrast)
Nullable<Color> GetThemeShadeByNameOrNull(
string colorName,
bool fixContrast
)
Parameters
- colorName
Type: System.String
- fixContrast
Type: System.Boolean
Return value
Type: System.Nullable<Color>