共用方式為


DataSetFieldSchema.PrimaryKey 屬性

定義

取得值,指出資料欄位是否在資料表或檢視所包含的主索引鍵中。

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

屬性值

如果資料欄位是在主索引鍵中,則為 true,否則為 false

實作

適用於

另請參閱