Share via


Binding.TranslateToILObject(ILGenerator, Type, Boolean) 方法

定義

在衍生類別中覆寫時,針對在其上定義繫結參考的物件產生 Microsoft Intermediate Language (MSIL) 程式碼。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

protected:
 abstract void TranslateToILObject(System::Reflection::Emit::ILGenerator ^ il, Type ^ obtype, bool noValue);
protected abstract void TranslateToILObject (System.Reflection.Emit.ILGenerator il, Type obtype, bool noValue);
abstract member TranslateToILObject : System.Reflection.Emit.ILGenerator * Type * bool -> unit
Protected MustOverride Sub TranslateToILObject (il As ILGenerator, obtype As Type, noValue As Boolean)

參數

il
ILGenerator

產生 Microsoft Intermediate Language (MSIL) 指令的物件。

obtype
Type

物件的類型。

noValue
Boolean

如果物件沒有值則為 true,否則為 false

適用於

另請參閱