Share via


IgnoreFieldAttribute Class

Definition

Define a field or property as excluded.

[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
Inheritance
IgnoreFieldAttribute
Attributes

Remarks

The ignored field is a field that is excluded from the list of fields.

Constructors

IgnoreFieldAttribute()

Mark a field or property as excluded.

Applies to