共用方式為


Web.CustomMasterUrl 屬性

取得或設定套用於網站的自訂主版頁面檔案 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 CustomMasterUrl As String
    Get
    Set
'用途
Dim instance As Web
Dim value As String

value = instance.CustomMasterUrl

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

屬性值

類型:System.String
包含自訂主版頁面的 URL 字串。

備註

在執行階段,此屬性中的值會取代內容頁面中的~masterurl/custom.master token。

請參閱

參照

Web 類別

Web 成員

Microsoft.SharePoint.Client 命名空間