Share via


ThmxTheme.ServerRelativeUrl Property

Gets the server-relative URL of the current theme if applicable.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property ServerRelativeUrl As String
    Get
'Usage
Dim instance As ThmxTheme
Dim value As String

value = instance.ServerRelativeUrl
public string ServerRelativeUrl { get; }

Property Value

Type: System.String
The server-relative URL of the current theme; otherwise, a null reference (Nothing in Visual Basic).

See Also

Reference

ThmxTheme Class

ThmxTheme Members

Microsoft.SharePoint.Utilities Namespace