IDataSourceFieldSchema.IsUnique Property


Gets a value indicating whether values in the field are required to be unique.

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

bool IsUnique { get; }

Property Value

Type: System.Boolean

true if data in the field must be unique; otherwise, false.

For a DataColumn object, the IsUnique property corresponds to the Unique property.

.NET Framework
Available since 2.0
Return to top