IgnoreFieldAttribute 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.
Définissons un champ ou une propriété comme étant exclu.
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)]
[System.Serializable]
public class IgnoreFieldAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)>]
[<System.Serializable>]
type IgnoreFieldAttribute = class
inherit Attribute
Public Class IgnoreFieldAttribute
Inherits Attribute
- Héritage
-
IgnoreFieldAttribute
- Attributs
Remarques
Le champ ignoré est un champ exclu de la liste des champs.
Constructeurs
| Nom | Description |
|---|---|
| IgnoreFieldAttribute() |
Marquez un champ ou une propriété comme exclue. |