共用方式為


ThmxTheme.GetManagedThemes method

在指定的網站集合的佈景主題圖庫取得可用的受管理佈景主題清單。

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Shared Function GetManagedThemes ( _
    site As SPSite _
) As ReadOnlyCollection(Of ThmxTheme)
'用途
Dim site As SPSite
Dim returnValue As ReadOnlyCollection(Of ThmxTheme)

returnValue = ThmxTheme.GetManagedThemes(site)
public static ReadOnlyCollection<ThmxTheme> GetManagedThemes(
    SPSite site
)

參數

傳回值

Type: System.Collections.ObjectModel.ReadOnlyCollection<ThmxTheme>
佈景主題中的唯讀集合。

請參閱

參照

ThmxTheme class

ThmxTheme members

Microsoft.SharePoint.Utilities namespace