Export (0) Print
Expand All

ISymbolWriter.DefineField Method

Defines a field in a type or a global field.

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

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

Parameters

parent

The metadata type or method token.

name

The field name.

attributes

The field attributes specified using the FieldAttributes enumerator.

signature

The field signature.

addrKind

The address types for addr1 and addr2 using SymAddressKind.

addr1

The first address for the field specification.

addr2

The second address for the field specification.

addr3

The third address for the field specification.

The DefineField method defines a single variable that is not within a method using specified fields in classes, bit fields, and so on.

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:
© 2014 Microsoft