ConfigurationAttributeSchema.IsUniqueKey 属性

定义

获取一个值,该值指示此属性是否为集合的唯一键。

public:
 property bool IsUniqueKey { bool get(); };
public bool IsUniqueKey { get; }
member this.IsUniqueKey : bool
Public ReadOnly Property IsUniqueKey As Boolean

属性值

true 如果 特性是集合的唯一键,则为 ;否则为 false

注解

若要测试此属性是否是组合键的一部分,请参阅 IsCombinedKey 属性。

适用于