語言

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 預設值。

備註

同一個標籤可以標記多次,最後一個偏移量的標記為勝。

適用於