Langue

IgnoreFieldAttribute Classe

Définition

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.

S’applique à