次の方法で共有


ThmxTheme.GetManagedThemesFromFolder method

Gets the list of managed themes available in the given folder for the given site.

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

Syntax

'Declaration
Public Shared Function GetManagedThemesFromFolder ( _
    site As SPSite, _
    strThemeFolder As String _
) As ReadOnlyCollection(Of ThmxTheme)
'Usage
Dim site As SPSite
Dim strThemeFolder As String
Dim returnValue As ReadOnlyCollection(Of ThmxTheme)

returnValue = ThmxTheme.GetManagedThemesFromFolder(site, _
    strThemeFolder)
public static ReadOnlyCollection<ThmxTheme> GetManagedThemesFromFolder(
    SPSite site,
    string strThemeFolder
)

Parameters

  • strThemeFolder
    Type: System.String

    The theme folder to look in.

Return value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ThmxTheme>
A list of ThmxTheme objects.

See also

Reference

ThmxTheme class

ThmxTheme members

Microsoft.SharePoint.Utilities namespace