Freigeben über


Web.CustomMasterUrl-Eigenschaft

Gets or sets the URL for a custom master page file to apply to the website.

Namespace:  Microsoft.SharePoint.Client
Assemblys:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Property CustomMasterUrl As String
    Get
    Set
'Usage
Dim instance As Web
Dim value As String

value = instance.CustomMasterUrl

instance.CustomMasterUrl = value
public string CustomMasterUrl { get; set; }

Eigenschaftswert

Typ: System.String
A string that contains the URL of the custom master page.

Hinweise

At runtime, the value in this property replaces the ~masterurl/custom.master token in content pages.

Siehe auch

Referenz

Web Klasse

Web-Member

Microsoft.SharePoint.Client-Namespace