Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the URL where the themed Cascading Style Sheet (CSS) can be retrieved.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetThemedCssUrlForEncodedUrl ( _
encodedCssUrl As String, _
themedCssFolderUrl As String _
) As String
'Usage
Dim encodedCssUrl As String
Dim themedCssFolderUrl As String
Dim returnValue As String
returnValue = ThmxTheme.GetThemedCssUrlForEncodedUrl(encodedCssUrl, _
themedCssFolderUrl)
public static string GetThemedCssUrlForEncodedUrl(
string encodedCssUrl,
string themedCssFolderUrl
)
Parameters
encodedCssUrl
Type: System.StringAn encoded server-relative URL of the CSS file.
themedCssFolderUrl
Type: System.StringA server-relative URL of the .thmx file.
Return value
Type: System.String
A server-relative URL of the themed CSS.
Remarks
This method gets the URL of the CSS resulting from applying the theme to the style sheet.