Share via


ThmxTheme.GetManagedThemes method

Gets the list of managed themes available in the theme gallery of the given site collection.

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

Syntax

'Declaration
Public Shared Function GetManagedThemes ( _
    site As SPSite _
) As ReadOnlyCollection(Of ThmxTheme)
'Usage
Dim site As SPSite
Dim returnValue As ReadOnlyCollection(Of ThmxTheme)

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

Parameters

Return value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ThmxTheme>
A read-only collection of themes.

See also

Reference

ThmxTheme class

ThmxTheme members

Microsoft.SharePoint.Utilities namespace