MetadataBuilder.AddLocalVariable Metoda

Definicja

Dodaje informacje debugowania zmiennej lokalnej.

public:
 System::Reflection::Metadata::LocalVariableHandle AddLocalVariable(System::Reflection::Metadata::LocalVariableAttributes attributes, int index, System::Reflection::Metadata::StringHandle name);
public System.Reflection.Metadata.LocalVariableHandle AddLocalVariable (System.Reflection.Metadata.LocalVariableAttributes attributes, int index, System.Reflection.Metadata.StringHandle name);
member this.AddLocalVariable : System.Reflection.Metadata.LocalVariableAttributes * int * System.Reflection.Metadata.StringHandle -> System.Reflection.Metadata.LocalVariableHandle
Public Function AddLocalVariable (attributes As LocalVariableAttributes, index As Integer, name As StringHandle) As LocalVariableHandle

Parametry

attributes
LocalVariableAttributes

Atrybuty zmiennej lokalnej.

index
Int32

Indeks zerowy zmiennej lokalnej w podpisie lokalnym.

name
StringHandle

Nazwa zmiennej.

Zwraca

Dojście do dodanej zmiennej lokalnej.

Wyjątki

index wartość jest większa niż UInt16.MaxValue.

Dotyczy