SPUtility properties
The SPUtility type exposes the following members.
Properties
Name | Description | |
---|---|---|
ContextCompatibilityLevel | Getsthe compatibility level of the context site. | |
ContextControlTemplatesFolder | return versioned controlTemplates folder for the contextSite. if there is no context site, return controlTemplates folder for current major version | |
ContextImagesRoot | Returns the versioned images folder for the contextSite. If there is no context site, returns images folder for current major version. | |
ContextLayoutsFolder | Getsthe versioned layouts folder for the context site. | |
CurrentThemeFolderName | Gets the name of the current theme folder. | |
DefaultSiteIconFileName | ||
DeveloperDashboardIsEnabled | Gets the developer dashboard enabled-status for the current request. | |
IsCompatibilityLevel15Up | ||
LAYOUTS_LATESTVERSION | ||
OriginalServerRelativeRequestPath | In the context of a web request, WSS will sometimes rewrite urls in _layouts and a few other file system directories. This property returns the original path before it was rewritten, which is useful if you need to get the subweb from which a layouts page was loaded. For example, when you open the link /subweb/_layouts/settings.aspx, WSS will rewrite the request url to /_layouts/settings.aspx, which is where the file is actually stored on the filesystem. | |
OriginalServerRelativeRequestUrl | Gets the original URL after the Microsoft SharePoint Foundation server has re-written it. | |
RELATIVE_LAYOUTS_LATESTVERSION |
Top