共用方式為


ThemeInfo.GetThemeShadeByName 方法

取得指定名稱中的佈景主題色彩。

命名空間:  Microsoft.SharePoint.Client
組件:   Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)

語法

'宣告
Public Function GetThemeShadeByName ( _
    name As String _
) As ClientResult(Of String)
'用途
Dim instance As ThemeInfo
Dim name As String
Dim returnValue As ClientResult(Of String)

returnValue = instance.GetThemeShadeByName(name)
public ClientResult<string> GetThemeShadeByName(
    string name
)

參數

傳回值

類型:Microsoft.SharePoint.Client.ClientResult<String>
佈景主題色彩] 或null 參考 (未執行任何動作 於 Visual Basic 中)如果沒有這種色彩的位置。

請參閱

參照

ThemeInfo 類別

ThemeInfo 成員

Microsoft.SharePoint.Client 命名空間