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

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

[Visual Basic]
Overloads Public Sub Emit( _
   ByVal opcode As OpCode, _
   ByVal arg As SByte _
)
[C#]
public void Emit(
   OpCode opcode,
   sbyte arg
);
[C++]
public: void Emit(
   OpCode opcode,
   char arg
);
[JScript]
public function Emit(
   opcode : OpCode,
   arg : SByte
);

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