KeyAttribute Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Indique la propriété de clé ou les propriétés d'une entité.
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public sealed class KeyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type KeyAttribute = class
inherit Attribute
Public NotInheritable Class KeyAttribute
Inherits Attribute
- Héritage
-
KeyAttribute
- Attributs
Constructeurs
KeyAttribute(String) |
Initialise une nouvelle instance de la classe KeyAttribute. |
KeyAttribute(String[]) |
Initialise une nouvelle instance de la classe KeyAttribute. |
Propriétés
KeyNames |
Obtient les noms des attributs de clé. |