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