MethodBodyAttributes MethodBodyAttributes MethodBodyAttributes MethodBodyAttributes Enum

定义

定义方法主体属性。Defines method body attributes.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class MethodBodyAttributes
[System.Flags]
public enum MethodBodyAttributes
type MethodBodyAttributes = 
Public Enum MethodBodyAttributes
继承
MethodBodyAttributesMethodBodyAttributesMethodBodyAttributesMethodBodyAttributes
属性

字段

InitLocals InitLocals InitLocals InitLocals 1

将该方法定义的任何局部变量初始化为零,并动态分配本地内存。Initializes any locals the method defines to zero and dynamically allocates local memory.

None None None None 0

不执行任何本地内存初始化。Performs no local memory initialization.

适用于