Breyta

Deila með


MetadataBuilder.AddLocalVariable Method

Definition

Adds local variable debug information.

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

Parameters

attributes
LocalVariableAttributes

The local variable attributes.

index
Int32

The zero-base index of the local variable in the local signature.

name
StringHandle

The name of the variable.

Returns

A handle to the added local variable.

Exceptions

Applies to