ISPTheme.GetThemeShadeByNameOrNull method
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
Function GetThemeShadeByNameOrNull ( _
colorName As String, _
fixContrast As Boolean _
) As Nullable(Of Color)
'Uso
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
)
Parâmetros
- colorName
Type: System.String
- fixContrast
Type: System.Boolean
Valor retornado
Type: System.Nullable<Color>