SchemaTableColumn.IsKey Field


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Specifies whether this column is a key for the table.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

public static readonly string IsKey

Field Value

Type: System.String

Returns the string "true" if the column is a key; otherwise "false".

.NET Framework
Available since 2.0
Return to top