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, Byte)

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

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

Parameters

opcode
The IL instruction to be put onto the stream.
arg
The character 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