ThmxTheme.GetThemedCssUrlForEncodedUrl Method
Returns the URL where the themed Cascading Style Sheet (CSS) can be retrieved.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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.