ISymbolWriter.DefineGlobalVariable Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Définit une variable globale unique.
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)
Paramètres
- name
- String
Nom de la variable globale.
- attributes
- FieldAttributes
Combinaison au niveau du bit des attributs de variable globale.
- signature
- Byte[]
Signature de variable globale.
- addrKind
- SymAddressKind
Types d’adresses pour addr1, addr2et addr3.
- addr1
- Int32
Première adresse de la spécification de variable globale.
- addr2
- Int32
Deuxième adresse de la spécification de variable globale.
- addr3
- Int32
Troisième adresse de la spécification de variable globale.