ISymbolWriter.DefineField メソッド

定義

型フィールドまたはグローバル フィールドにフィールドを定義します。

public:
 void DefineField(System::Diagnostics::SymbolStore::SymbolToken parent, System::String ^ name, System::Reflection::FieldAttributes attributes, cli::array <System::Byte> ^ signature, System::Diagnostics::SymbolStore::SymAddressKind addrKind, int addr1, int addr2, int addr3);
public 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);
abstract member DefineField : System.Diagnostics.SymbolStore.SymbolToken * string * System.Reflection.FieldAttributes * byte[] * System.Diagnostics.SymbolStore.SymAddressKind * int * int * int -> unit
Public 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)

パラメーター

parent
SymbolToken

メタデータ型またはメソッド トークン。

name
String

フィールド名。

attributes
FieldAttributes

フィールド属性のビットごとの組み合わせ。

signature
Byte[]

フィールド シグネチャ。

addrKind
SymAddressKind

addr1 および addr2 のアドレス型。

addr1
Int32

フィールド指定の最初のアドレス。

addr2
Int32

フィールド指定の 2 番目のアドレス。

addr3
Int32

フィールド指定の 3 番目のアドレス。

注釈

メソッドは DefineField 、クラス、ビット フィールドなどの指定されたフィールドを使用して、メソッド内にない 1 つの変数を定義します。

適用対象