SPWebInfo.MasterUrl property

The URL of the Web site master page.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property MasterUrl As String
    Get
'Usage
Dim instance As SPWebInfo
Dim value As String

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

Property value

Type: System.String
A String representation of the Web site master URL.

See also

Reference

SPWebInfo class

SPWebInfo members

Microsoft.SharePoint namespace