KeyValueConfigurationCollection.ThrowOnDuplicate Eigenschaft

Definition

Ruft einen Wert ab, der angibt, ob der Versuch, der KeyValueConfigurationElement-Auflistung ein doppeltes KeyValueConfigurationCollection-Objekt 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 der Versuch, der KeyValueConfigurationElement ein doppeltes KeyValueConfigurationCollection hinzuzufügen, eine Ausnahme auslöst, andernfalls false.

Gilt für: