Share via


ThmxTheme.GetThemedCssUrl 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)

Syntax

'Declaration
Public Shared Function GetThemedCssUrl ( _
    cssUrl As String, _
    themedCssFolderUrl As String _
) As String
'Usage
Dim cssUrl As String
Dim themedCssFolderUrl As String
Dim returnValue As String

returnValue = ThmxTheme.GetThemedCssUrl(cssUrl, _
    themedCssFolderUrl)
public static string GetThemedCssUrl(
    string cssUrl,
    string themedCssFolderUrl
)

Parameters

  • cssUrl
    Type: System.String

    An un-encoded server-relative URL of the CSS file.

  • themedCssFolderUrl
    Type: System.String

    A 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.

See also

Reference

ThmxTheme class

ThmxTheme members

Microsoft.SharePoint.Utilities namespace