KeyValueConfigurationCollection.ThrowOnDuplicate プロパティ

定義

重複する KeyValueConfigurationElement オブジェクトを KeyValueConfigurationCollection コレクションに追加しようとしたときに、例外をスローするかどうかを示す値を取得します。

protected:
 virtual property bool ThrowOnDuplicate { bool get(); };
protected override bool ThrowOnDuplicate { get; }
member this.ThrowOnDuplicate : bool
Protected Overrides ReadOnly Property ThrowOnDuplicate As Boolean

プロパティ値

重複する trueKeyValueConfigurationElement に追加しようとしたときに、例外をスローする場合は KeyValueConfigurationCollection。それ以外の場合は false

適用対象