DesignerDataColumn.PrimaryKey Property

Definition

Gets a value indicating whether the column is part of the table's primary key.

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

Property Value

true if the column is part of the table's primary key; otherwise, false.

Applies to