The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ISymbolWriter.DefineField Method
Visual Studio 2010
Defines a field in a type or a global field.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Sub DefineField ( _ parent As SymbolToken, _ name As String, _ attributes As FieldAttributes, _ signature As Byte(), _ addrKind As SymAddressKind, _ addr1 As Integer, _ addr2 As Integer, _ addr3 As Integer _ )
Parameters
- parent
- Type: System.Diagnostics.SymbolStore.SymbolToken
The metadata type or method token.
- name
- Type: System.String
The field name.
- attributes
- Type: System.Reflection.FieldAttributes
A bitwise combination of the field attributes.
- signature
- Type: System.Byte()
The field signature.
- addrKind
- Type: System.Diagnostics.SymbolStore.SymAddressKind
The address types for addr1 and addr2.
- addr1
- Type: System.Int32
The first address for the field specification.
- addr2
- Type: System.Int32
The second address for the field specification.
- addr3
- Type: System.Int32
The third address for the field specification.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Community Additions
Show: