Web.MasterUrl 屬性
取得或設定用於網站的主版頁面 URL。
命名空間: 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
包含主版頁面的 URL 字串。
備註
在執行階段,此屬性中的值會取代內容頁面中的~masterurl/default.master token。