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
)
参数
- colorName
类型:System.String
- fixContrast
类型:System.Boolean
返回值
类型:System.Nullable<Color>