NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ILGenerator.Emit (OpCode, Single)

Puts the specified instruction and numerical argument onto the stream of instructions.

[Visual Basic]
Overloads Overridable Public Sub Emit( _
   ByVal opcode As OpCode, _
   ByVal arg As Single _
)
[C#]
public virtual void Emit(
   OpCode opcode,
   float arg
);
[C++]
public: virtual void Emit(
   OpCode opcode,
   float arg
);
[JScript]
public function Emit(
   opcode : OpCode,
   arg : float
);

Parameters

opcode
The IL instruction to be put onto the stream.
arg
The Single argument pushed onto the stream immediately after the instruction.

Remarks

The instruction values are defined in the OpCodes enumeration.

See Also

ILGenerator Class | ILGenerator Members | System.Reflection.Emit Namespace | ILGenerator.Emit Overload List