DefineGlobalVariable Method

ISymbolWriter.DefineGlobalVariable Method

Defines a single global variable.

Namespace: System.Diagnostics.SymbolStore
Assembly: mscorlib (in mscorlib.dll)

void DefineGlobalVariable (
	string name,
	FieldAttributes attributes,
	byte[] signature,
	SymAddressKind addrKind,
	int addr1,
	int addr2,
	int addr3
)
void DefineGlobalVariable (
	String name, 
	FieldAttributes attributes, 
	byte[] signature, 
	SymAddressKind addrKind, 
	int addr1, 
	int addr2, 
	int addr3
)
function DefineGlobalVariable (
	name : String, 
	attributes : FieldAttributes, 
	signature : byte[], 
	addrKind : SymAddressKind, 
	addr1 : int, 
	addr2 : int, 
	addr3 : int
)
Not applicable.

Parameters

name

The global variable name.

attributes

The global variable attributes specified using the FieldAttributes enumerator.

signature

The global variable signature.

addrKind

The address types for addr1, addr2, and addr3 using SymAddressKind.

addr1

The first address for the global variable specification.

addr2

The second address for the global variable specification.

addr3

The third address for the global variable specification.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2016 Microsoft