ISymbolWriter.DefineGlobalVariable Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Definieert één globale variabele.
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)
Parameters
- name
- String
De naam van de globale variabele.
- attributes
- FieldAttributes
Een bitsgewijze combinatie van de globale variabelekenmerken.
- signature
- Byte[]
De handtekening van de globale variabele.
- addrKind
- SymAddressKind
De adrestypen voor addr1, addr2en addr3.
- addr1
- Int32
Het eerste adres voor de globale variabelespecificatie.
- addr2
- Int32
Het tweede adres voor de globale variabelespecificatie.
- addr3
- Int32
Het derde adres voor de globale variabelespecificatie.