ISPTheme.GetThemeShadeByNameOrNull 方法

命名空间:  Microsoft.SharePoint.Utilities
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Function GetThemeShadeByNameOrNull ( _
    colorName As String, _
    fixContrast As Boolean _
) As Nullable(Of Color)
用法
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
)

参数

返回值

类型:System.Nullable<Color>

另请参阅

引用

ISPTheme 接口

ISPTheme 成员

Microsoft.SharePoint.Utilities 命名空间