ProfilePropertySettingsCollection.ThrowOnDuplicate 属性

定义

获取一个值,该值指示尝试创建重复对象时是否引发错误。

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

属性值

Boolean

在所有情况下均为 true

适用于

另请参阅