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() |
将某个田地或财产标记为排除。 |