Partager via


IgnoreFieldAttribute Classe

Définition

Définissez un champ ou une propriété comme 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 qui est exclu de la liste des champs.

Constructeurs

IgnoreFieldAttribute()

Marquez un champ ou une propriété comme exclu.

S’applique à