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:
property bool PrimaryKey {
	virtual bool get() sealed;
}

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: