OpCodes.Pop 字段


移除当前位于计算堆栈顶部的值。Removes the value currently on top of the evaluation stack.

public: static initonly System::Reflection::Emit::OpCode Pop;
public static readonly System.Reflection.Emit.OpCode Pop;
 staticval mutable Pop : System.Reflection.Emit.OpCode
Public Shared ReadOnly Pop As OpCode 



下表列出了指令的十六进制和 Microsoft 中间语言(MSIL)程序集格式以及简短的参考摘要: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
2626 poppop 从堆栈中弹出顶部值。Pops the top value from the stack.

堆栈转换行为顺序如下:The stack transitional behavior, in sequential order, is:

  1. 顶部值从堆栈中弹出。The top value is popped from the stack.

@No__t-0 指令从堆栈中移除 top 元素。The pop instruction removes the top element from the stack.

以下 @no__t 0 方法重载可以使用 @no__t 操作码:The following Emit method overload can use the pop opcode:

  • ILGenerator.Emit(OpCode)ILGenerator.Emit(OpCode)