語言

DataSetFieldSchema.PrimaryKey 屬性

定義

會取得一個值,表示資料欄位是否屬於包含資料表或檢視的主鍵。

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

屬性值

true如果資料欄位位於主鍵中;否則,。 false

實作

適用於

另請參閱