語言

MobilePage.MasterPageFile 屬性

定義

取得或設定母版頁面的檔名。 ASP.NET 行動網頁不支援母版頁面。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

public:
 property System::String ^ MasterPageFile { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(false)]
[System.ComponentModel.Browsable(false)]
public override sealed string MasterPageFile { get; set; }
[<System.ComponentModel.Bindable(false)>]
[<System.ComponentModel.Browsable(false)>]
member this.MasterPageFile : string with get, set
Public Overrides NotOverridable Property MasterPageFile As String

屬性值

null。

屬性

例外狀況

曾嘗試設置此財產。 母版頁面不支援手機版頁面。

備註

此成員會 Page.MasterPageFile 覆寫以防止母版頁面被使用。 這是因為 ASP.NET 行動網頁不支援母版頁面。

適用於

另請參閱