KeyValueConfigurationCollection.ThrowOnDuplicate Eigenschaft

Definition

Ruft einen Wert ab, der angibt, ob ein Versuch, der Auflistung ein dupliziertes KeyValueConfigurationElement Objekt KeyValueConfigurationCollection hinzuzufügen, eine Ausnahme auslöst.

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

Eigenschaftswert

true wenn ein Versuch, dem Duplikat KeyValueConfigurationElementKeyValueConfigurationCollection hinzuzufügen, eine Ausnahme ausgelöst wird, andernfalls false.

Gilt für: