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