KeyValueConfigurationCollection.ThrowOnDuplicate 속성

정의

KeyValueConfigurationElement 컬렉션에 중복되는 KeyValueConfigurationCollection 개체를 추가하려고 하면 예외가 throw되는지 여부를 나타내는 값을 가져옵니다.

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

속성 값

true에 중복되는 KeyValueConfigurationElement를 추가하려고 할 때 예외가 throw되면 KeyValueConfigurationCollection이고, 그렇지 않으면 false입니다.

적용 대상