Share via


ThmxTheme.IsThemeShared method

Determines if the set of generated files for the theme currently applied to a web is potentially shared by other webs. This is done solely based on their location, and is not an actual calculation if those files are actually in use by other webs.

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

Syntax

'Declaration
Public Shared Function IsThemeShared ( _
    web As SPWeb _
) As Boolean
'Usage
Dim web As SPWeb
Dim returnValue As Boolean

returnValue = ThmxTheme.IsThemeShared(web)
public static bool IsThemeShared(
    SPWeb web
)

Parameters

Return value

Type: System.Boolean
true if the theme is in the shared path, false otherwise

See also

Reference

ThmxTheme class

ThmxTheme members

Microsoft.SharePoint.Utilities namespace