次の方法で共有


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

Return value

Type: System.Nullable<Color>

See also

Reference

ISPTheme interface

ISPTheme members

Microsoft.SharePoint.Utilities namespace