Share via


InstructionEncoder.MarkLabel(LabelHandle) 方法

定義

建立指定標籤與目前 IL 位移的關聯。

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)

參數

label
LabelHandle

要標記的標籤。

例外狀況

label 不是由此編碼器定義。

label 有預設值。

備註

單一標籤可能會多次標示,最後一個位移會勝出。

適用於