共用方式為


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 屬性。

適用於