MobilePage.MasterPageFile Właściwość

Definicja

Pobiera lub ustawia nazwę pliku strony wzorcowej. Strony wzorcowe nie są obsługiwane na stronach ASP.NET mobilnych Web Forms. Ten interfejs API jest nieaktualny. Aby uzyskać informacje o sposobie tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Sites with ASP.NET (Aplikacje mobilne & z 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

Wartość właściwości

null.

Atrybuty

Wyjątki

Podjęto próbę ustawienia tej właściwości. Strony wzorcowe nie są obsługiwane na stronach mobilnych.

Uwagi

Ten element członkowski zastępuje się Page.MasterPageFile , aby uniemożliwić korzystanie ze stron wzorcowych. Wynika to z faktu, że strony wzorcowe nie są obsługiwane na ASP.NET stronach Web Forms mobilnych.

Dotyczy

Zobacz też