ISymbolWriter.DefineGlobalVariable メソッド

定義

1 つのグローバル変数を定義します。

public:
 void DefineGlobalVariable(System::String ^ name, System::Reflection::FieldAttributes attributes, cli::array <System::Byte> ^ signature, System::Diagnostics::SymbolStore::SymAddressKind addrKind, int addr1, int addr2, int addr3);
public void DefineGlobalVariable(string name, System.Reflection.FieldAttributes attributes, byte[] signature, System.Diagnostics.SymbolStore.SymAddressKind addrKind, int addr1, int addr2, int addr3);
abstract member DefineGlobalVariable : string * System.Reflection.FieldAttributes * byte[] * System.Diagnostics.SymbolStore.SymAddressKind * int * int * int -> unit
Public Sub DefineGlobalVariable (name As String, attributes As FieldAttributes, signature As Byte(), addrKind As SymAddressKind, addr1 As Integer, addr2 As Integer, addr3 As Integer)

パラメーター

name
String

グローバル変数名。

attributes
FieldAttributes

グローバル変数属性のビットごとの組み合わせ。

signature
Byte[]

グローバル変数シグネチャ。

addrKind
SymAddressKind

addr1addr2、およびaddr3のアドレスの種類。

addr1
Int32

グローバル変数仕様の最初のアドレス。

addr2
Int32

グローバル変数仕様の 2 番目のアドレス。

addr3
Int32

グローバル変数仕様の 3 番目のアドレス。

適用対象