Επεξεργασία

Κοινή χρήση μέσω


InstructionEncoder.MarkLabel(LabelHandle) Method

Definition

Associates specified label with the current IL offset.

public:
 void MarkLabel(System::Reflection::Metadata::Ecma335::LabelHandle label);
public void MarkLabel (System.Reflection.Metadata.Ecma335.LabelHandle label);
member this.MarkLabel : System.Reflection.Metadata.Ecma335.LabelHandle -> unit
Public Sub MarkLabel (label As LabelHandle)

Parameters

label
LabelHandle

Label to mark.

Exceptions

label was not defined by this encoder.

label has default value.

Remarks

A single label may be marked multiple times, the last offset wins.

Applies to