如果没有此类主题阴影存在于此主题,获取主题按名称或空阴影
命名空间: Microsoft.SharePoint.Utilities
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Function GetThemeShadeByNameOrNull ( _
colorName As String _
) As Nullable(Of Color)
用法
Dim instance As SPTheme
Dim colorName As String
Dim returnValue As Nullable(Of Color)
returnValue = instance.GetThemeShadeByNameOrNull(colorName)
public Nullable<Color> GetThemeShadeByNameOrNull(
string colorName
)
参数
- colorName
类型:System.String
返回值
类型:System.Nullable<Color>
如果没有此类主题阴影存在于此主题表示主题底纹或为空的颜色。