Share via


ConfigurationAttributeSchema.IsUniqueKey Propriété

Définition

Obtient une valeur indiquant si cet attribut est la clé unique d’une collection.

public:
 property bool IsUniqueKey { bool get(); };
public bool IsUniqueKey { get; }
member this.IsUniqueKey : bool
Public ReadOnly Property IsUniqueKey As Boolean

Valeur de propriété

true si l’attribut est la clé unique d’une collection ; sinon, false.

Remarques

Pour tester si cet attribut fait partie d’une clé combinée, consultez la IsCombinedKey propriété .

S’applique à