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
)
參數
site
Type: Microsoft.SharePoint.SPSite網站集合,將擷取其佈景主題。
傳回值
Type: System.Collections.ObjectModel.ReadOnlyCollection<ThmxTheme>
佈景主題中的唯讀集合。