MethodBodyStreamEncoder 结构   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为方法主体流提供编码器。
public value class MethodBodyStreamEncoderpublic readonly struct MethodBodyStreamEncoderpublic struct MethodBodyStreamEncodertype MethodBodyStreamEncoder = structPublic Structure MethodBodyStreamEncoder- 继承
构造函数
| MethodBodyStreamEncoder(BlobBuilder) | 为方法主体流提供编码器。 | 
属性
| Builder | 为方法主体流提供编码器。 | 
方法
| AddMethodBody(InstructionEncoder, Int32, StandaloneSignatureHandle, MethodBodyAttributes) | 对方法主体进行编码,并将其添加到方法主体流中。 | 
| AddMethodBody(InstructionEncoder, Int32, StandaloneSignatureHandle, MethodBodyAttributes, Boolean) | 通过使用提供的指令编码器、最大堆栈大小、局部变量的签名句柄、方法主体属性并允许指示该方法是否应从动态本地内存池分配,对方法主体进行编码,并将其添加到方法主体流。 | 
| AddMethodBody(Int32, Int32, Int32, Boolean, StandaloneSignatureHandle, MethodBodyAttributes) | 通过使用提供的代码大小、最大堆栈大小、异常区域的数目、局部变量的签名句柄、方法主体属性并允许指示是否应以小格式编码异常区域,对方法主体进行编码,并将其添加到方法主体流。 | 
| AddMethodBody(Int32, Int32, Int32, Boolean, StandaloneSignatureHandle, MethodBodyAttributes, Boolean) | 通过使用提供的代码大小、最大堆栈大小、异常区域的数目、局部变量的签名句柄、方法主体属性,允许指示是否应以小格式编码异常区域,并允许指示方法是否应从动态本地内存池分配,对方法主体进行编码,并将其添加到方法主体流。 |