ConfigurationAllowDefinition 列挙型

定義

ConfigurationSection オブジェクトに格納されたプロパティを設定またはオーバーライドできる構成ファイルの階層内の位置を指定します。

public enum class ConfigurationAllowDefinition
public enum ConfigurationAllowDefinition
type ConfigurationAllowDefinition = 
Public Enum ConfigurationAllowDefinition
継承
ConfigurationAllowDefinition

フィールド

Everywhere 300

ConfigurationSection は、任意の場所に定義できます。

MachineOnly 0

ConfigurationSection は、Machine.config ファイルでだけ定義できます。

MachineToApplication 200

ConfigurationSection は、Machine.config ファイル、Machine.config と同じディレクトリに存在するコンピューター レベルの Web.config ファイル、または仮想ディレクトリのルートに存在するトップ レベルのアプリケーション Web.config ファイルのいずれかで定義できますが、仮想ルートのサブディレクトリでは定義できません。

MachineToWebRoot 100

ConfigurationSection は、Machine.config ファイルまたは Machine.config と同じディレクトリに存在するコンピューター レベルの Web.config ファイルのいずれかで定義できますが、アプリケーション Web.config ファイルでは定義できません。

注釈

この列挙体の値は、 クラスの新しいインスタンスを作成するときに必要に応じて使用されます ConfigurationSection

適用対象