語言

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
屬性

備註

忽略欄位是指被排除在欄位清單之外的欄位。

建構函式

名稱 Description
IgnoreFieldAttribute()

將某片田地或財產標記為排除。

適用於