SymWriter.DefineField Method

Definition

Throws a NotSupportedException in all cases.

C#
public override void DefineField(System.Diagnostics.SymbolStore.SymbolToken parent, string name, System.Reflection.FieldAttributes attributes, byte[] signature, System.Diagnostics.SymbolStore.SymAddressKind addrKind, int addr1, int addr2, int addr3);
C#
public virtual void DefineField(System.Diagnostics.SymbolStore.SymbolToken parent, string name, System.Reflection.FieldAttributes attributes, byte[] signature, System.Diagnostics.SymbolStore.SymAddressKind addrKind, int addr1, int addr2, int addr3);

Parameters

parent
SymbolToken

This parameter is not used.

name
String

This parameter is not used.

attributes
FieldAttributes

This parameter is not used.

signature
Byte[]

This parameter is not used.

addrKind
SymAddressKind

This parameter is not used.

addr1
Int32

This parameter is not used.

addr2
Int32

This parameter is not used.

addr3
Int32

This parameter is not used.

Implements

Exceptions

In all cases.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1