共用方式為


ColumnProvider.IsPrimaryKey 屬性

定義

取得或設定值,這個值表示資料行是否屬於資料表的主索引鍵。

public:  virtual property bool IsPrimaryKey {  public:
bool get(); protected:
 void set(bool value); };
public virtual bool IsPrimaryKey { get; protected set; }
member this.IsPrimaryKey : bool with get, set
Public Overridable Property IsPrimaryKey As Boolean

屬性值

Boolean

如果資料行屬於資料表的主索引鍵則為 true,否則為 false

適用於