Language

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

注釈

この属性がプロパティに存在する場合は、プロパティが基になるアンマネージ グローバル変数を実際に反映していることを示します。

コンストラクター

Name 説明
FieldAttribute(String, String)

バインドする特定のシンボルを使用して、新しい FieldAttribute インスタンスを作成します。

FieldAttribute(String)

バインドする特定のシンボルを使用して、新しい FieldAttribute インスタンスを作成します。

プロパティ

Name 説明
LibraryName

グローバル シンボルが検索されるライブラリ名。

SymbolAddress

生成されたアクセサーがアンマネージ シンボルのアドレスを返すかどうかを取得または設定します。

SymbolName

このフィールドが表すグローバルシンボル。

適用対象