語言

InstructionEncoder.Branch(ILOpCode, LabelHandle) 方法

定義

編碼分支指令。

public:
 void Branch(System::Reflection::Metadata::ILOpCode code, System::Reflection::Metadata::Ecma335::LabelHandle label);
public void Branch(System.Reflection.Metadata.ILOpCode code, System.Reflection.Metadata.Ecma335.LabelHandle label);
member this.Branch : System.Reflection.Metadata.ILOpCode * System.Reflection.Metadata.Ecma335.LabelHandle -> unit
Public Sub Branch (code As ILOpCode, label As LabelHandle)

參數

code
ILOpCode

分支指令來編碼。

label
LabelHandle

指令流中目標位置的標籤。

例外狀況

code 不是分支指令。

-或-

label 並未由此編碼器定義。

label 預設值。

適用於