Share via


ISymbolWriter.DefineGlobalVariable Methode

Definition

Definiert eine einzelne globale Variable.

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)

Parameter

name
String

Der Name der globalen Variablen.

attributes
FieldAttributes

Eine bitweise Kombination der globalen Variablenattribute.

signature
Byte[]

Die Signatur der globalen Variablen.

addrKind
SymAddressKind

Die Adresstypen für addr1, addr2 und addr3.

addr1
Int32

Die erste Adresse für die Angabe der globalen Variablen.

addr2
Int32

Die zweite Adresse für die Angabe der globalen Variablen.

addr3
Int32

Die dritte Adresse für die Angabe der globalen Variablen.

Gilt für: