Web.MasterUrl 属性
Gets or sets the URL of the master page that is used for the website.
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)
语法
声明
Public Property MasterUrl As String
Get
Set
用法
Dim instance As Web
Dim value As String
value = instance.MasterUrl
instance.MasterUrl = value
public string MasterUrl { get; set; }
属性值
类型:System.String
A string that contains the URL of the master page.
备注
At runtime, the value in this property replaces the ~masterurl/default.master token in content pages.