ProfilePropertySettingsCollection.ThrowOnDuplicate 属性

定义

获取一个值,该值指示尝试创建重复对象时是否引发错误。Gets a value indicating whether an error should be thrown if an attempt to create a duplicate object is made.

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

属性值

Boolean

在所有情况下均为 truetrue in all cases.

适用于

另请参阅