Delen via


IReadOnlyProperty.IsKey Method

Definition

Gets a value indicating whether this property is used as the primary key or alternate key (or part of a composite primary or alternate key).

public bool IsKey ();
abstract member IsKey : unit -> bool
Public Function IsKey () As Boolean

Returns

true if the property is used as a key, otherwise false.

Applies to