DataSetFieldSchema.PrimaryKey Property

 

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

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

public bool PrimaryKey { get; }

Property Value

Type: System.Boolean

true if the data field is in the primary key; otherwise, false.

.NET Framework
Available since 2.0
Return to top
Show: