語言

FieldAttribute 類別

定義

此屬性存在於屬性上,表示其反映出一個底層未管理的全域變數。

[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)]
public sealed class FieldAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)>]
type FieldAttribute = class
    inherit Attribute
繼承
FieldAttribute
屬性

備註

當此屬性出現在屬性上時,表示該屬性實際上反映了一個底層的未管理全域變數。

建構函式

名稱 Description
FieldAttribute(String, String)

建立一個新的 FieldAttribute 實例,並綁定特定符號。

FieldAttribute(String)

建立一個新的 FieldAttribute 實例,並綁定特定符號。

屬性

名稱 Description
LibraryName

全域符號被查詢的資料庫名稱。

SymbolAddress

取得或設定所產生的存取器回傳未管理符號的位址。

SymbolName

這個欄位所代表的全域符號。

適用於