语言

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()

将某个田地或财产标记为排除。

适用于