Sdílet prostřednictvím


IgnoreFieldAttribute Třída

Definice

Definujte pole nebo vlastnost jako vyloučené.

[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
Dědičnost
IgnoreFieldAttribute
Atributy

Poznámky

Ignorované pole je pole, které je vyloučeno ze seznamu polí.

Konstruktory

IgnoreFieldAttribute()

Označí pole nebo vlastnost jako vyloučené.

Platí pro