PagesSection.MasterPageFile プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > PagesSection.MasterPageFile プロパティの意味・解説 

PagesSection.MasterPageFile プロパティ

メモ : このプロパティは、.NET Framework version 2.0 で新しく追加されたものです。

アプリケーションのマスター ページへの参照を取得または設定します。

名前空間: System.Web.Configuration
アセンブリ: System.Web (system.web.dll 内)
構文構文

Dim instance As PagesSection
Dim value As String

value = instance.MasterPageFile

instance.MasterPageFile = value
public string MasterPageFile { get;
 set; }
public:
property String^ MasterPageFile {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_MasterPageFile ()

/** @property */
public void set_MasterPageFile (String value)
public function get MasterPageFile
 () : String

public function set MasterPageFile
 (value : String)

プロパティ値
アプリケーションのマスター ページへの参照。

解説解説
使用例使用例

MasterPageFile プロパティを使用する方法を次のコード例に示します。

' Get the current MasterPageFile property value.
Console.WriteLine( _
    "Current MasterPageFile value: '{0}'", _
    pagesSection.MasterPageFile)

' Set the MasterPageFile property to "MyMasterPage.ascx".
pagesSection.MasterPageFile = "MyMasterPage.ascx"
// Get the current MasterPageFile property value.
Console.WriteLine(
    "Current MasterPageFile value: '{0}'",
    pagesSection.MasterPageFile);

// Set the MasterPageFile property to "MyMasterPage.ascx".
pagesSection.MasterPageFile = "MyMasterPage.ascx";
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「PagesSection.MasterPageFile プロパティ」の関連用語

PagesSection.MasterPageFile プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



PagesSection.MasterPageFile プロパティのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS