共用方式為


FieldAttribute 類別

定義

此屬性存在於屬性上,表示它們反映基礎 Unmanaged 全域變數。

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

備註

當此屬性存在於屬性上時,表示屬性實際上會反映基礎 Unmanaged 全域變數。

建構函式

FieldAttribute(String)

使用要系結的特定符號,建立新的 FieldAttribute 實例。

FieldAttribute(String, String)

使用要系結的特定符號,建立新的 FieldAttribute 實例。

屬性

LibraryName

從中查閱全域符號的程式庫名稱。

SymbolName

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

適用於