SPThemeInfo.GetThemeShadeByName method
取得指定名稱的佈景主題色彩。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function GetThemeShadeByName ( _
name As String _
) As String
'用途
Dim instance As SPThemeInfo
Dim name As String
Dim returnValue As String
returnValue = instance.GetThemeShadeByName(name)
public string GetThemeShadeByName(
string name
)
參數
name
Type: System.String色彩插槽的名稱。
傳回值
Type: System.String
佈景主題色彩的a null reference (Nothing in Visual Basic)如果沒有這類色彩插槽存在。