Edit

Share via


DataSetFieldSchema.PrimaryKey Property

Definition

Gets a value indicating whether the data field is in the primary key for the containing table or view.

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 data field is in the primary key; otherwise, false.

Implements

Applies to

See also