IgnoreFieldAttribute 类

定义

将字段或属性定义为排除。

[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
继承
IgnoreFieldAttribute
属性

注解

忽略的字段是从字段列表中排除的字段。

构造函数

IgnoreFieldAttribute()

将字段或属性标记为已排除。

适用于