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

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

SectionInformation.InheritInChildApplications プロパティ

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

関連付けられている構成セクション内で指定されている設定が、その関連付けられている構成セクションが適用されるアプリケーションのサブディレクトリ内に存在するアプリケーションに継承されるかどうかを示す値を取得または設定します。

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

Public Property InheritInChildApplications
 As Boolean
Dim instance As SectionInformation
Dim value As Boolean

value = instance.InheritInChildApplications

instance.InheritInChildApplications = value
public bool InheritInChildApplications { get;
 set; }
public:
property bool InheritInChildApplications {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_InheritInChildApplications ()

/** @property */
public void set_InheritInChildApplications
 (boolean value)
public function get InheritInChildApplications
 () : boolean

public function set InheritInChildApplications
 (value : boolean)

プロパティ値
この ConfigurationSection オブジェクトで指定されている設定が子アプリケーションに継承される場合は true。それ以外の場合は false。既定値は true です。

解説解説
使用例使用例

ConfigurationSection オブジェクトの InheritInChildApplications 値を取得する方法の例を次に示します。

Public Shared Sub GetInheritInChildApps()
 

    Dim sInfo As SectionInformation = _
    GetSectionInformation()
    
    Dim inheritInChildApps As Boolean
 = _
    sInfo.InheritInChildApplications
    Console.WriteLine("Inherit in child apps: {0}",
 _
    inheritInChildApps.ToString())

End Sub 'GetInheritInChildApps
    
static public void GetInheritInChildApps()
{
    SectionInformation sInfo =
        GetSectionInformation();

    bool inheritInChildApps =
        sInfo.InheritInChildApplications;
    Console.WriteLine("Inherit in child apps: {0}",
        inheritInChildApps.ToString());

}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

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

   

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



SectionInformation.InheritInChildApplications プロパティのページの著作権

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

©2026 GRAS Group, Inc.RSS