Export (0) Print
Expand All
Expand Minimize

OpCodes.Pop Field

Removes the value currently on top of the evaluation stack.

[Visual Basic]
Public Shared ReadOnly Pop As OpCode
[C#]
public static readonly OpCode Pop;
[C++]
public: static OpCode Pop;
[JScript]
public static var Pop : OpCode;

Remarks

The following table lists the instruction's hexadecimal and Microsoft Intermediate Language (MSIL) assembly format, along with a brief reference summary:

Format Assembly Format Description
26 pop Pops the top value from the stack.

The stack transitional behavior, in sequential order, is:

  1. The top value is popped from the stack.

The pop instruction removes the top element from the stack.

The following Emit constructor overload can use the pop opcode:

  • ILGenerator.Emit(OpCode)

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

OpCodes Class | OpCodes Members | System.Reflection.Emit Namespace

Show:
© 2014 Microsoft