共用方式為


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
)

參數

傳回值

Type: System.String
佈景主題色彩的a null reference (Nothing in Visual Basic)如果沒有這類色彩插槽存在。

請參閱

參照

SPThemeInfo class

SPThemeInfo members

Microsoft.SharePoint namespace