DesignerDataColumn.PrimaryKey 屬性

定義

會取得一個值,表示該欄位是否屬於資料表的主鍵。

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

屬性值

true如果該欄位是資料表主鍵的一部分;否則,。 false

適用於