DesignerDataColumn.PrimaryKey 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會取得一個值,表示該欄位是否屬於資料表的主鍵。
public:
property bool PrimaryKey { bool get(); };
public bool PrimaryKey { get; }
member this.PrimaryKey : bool
Public ReadOnly Property PrimaryKey As Boolean
屬性值
true如果該欄位是資料表主鍵的一部分;否則,。 false