ILGenerator.CreateLabel(Int32) Method

Definition

Creates a Label with the given ID.

protected:
 static System::Reflection::Emit::Label CreateLabel(int id);
protected static System.Reflection.Emit.Label CreateLabel (int id);
static member CreateLabel : int -> System.Reflection.Emit.Label
Protected Shared Function CreateLabel (id As Integer) As Label

Parameters

id
Int32

The unique ID for the label.

Returns

The Label created.

Applies to