Defines a field in a type or a global field.
[Visual Basic] Sub DefineField( _ ByVal parent As SymbolToken, _ ByVal name As String, _ ByVal attributes As FieldAttributes, _ ByVal signature() As Byte, _ ByVal addrKind As SymAddressKind, _ ByVal addr1 As Integer, _ ByVal addr2 As Integer, _ ByVal addr3 As Integer _ ) [C#] void DefineField( SymbolToken parent, string name, FieldAttributes attributes, byte[] signature, SymAddressKind addrKind, int addr1, int addr2, int addr3 ); [C++] void DefineField( SymbolToken parent, String* name, FieldAttributes attributes, unsigned char signature __gc[], SymAddressKind addrKind, int addr1, int addr2, int addr3 ); [JScript] function DefineField( parent : SymbolToken, name : String, attributes : FieldAttributes, signature : Byte[], addrKind : SymAddressKind, addr1 : int, addr2 : int, addr3 : int );
The DefineField method defines a single variable that is not within a method using specified fields in classes, bit fields, and so on.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
ISymbolWriter Interface | ISymbolWriter Members | System.Diagnostics.SymbolStore Namespace