IgnoreFieldAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将字段或属性定义为排除。
[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() |
将字段或属性标记为已排除。 |