The properties of the MethodBuilder class are listed below. For a complete list of MethodBuilder class members, see the MethodBuilder Members topic.
Attributes | Retrieves the attributes for this method. |
CallingConvention | Returns the calling convention of the method. |
DeclaringType | Returns the type that declares this method. |
InitLocals | Gets or sets whether the local variables in this method should be zero initialized. |
IsAbstract (inherited from MethodBase) | Retrieves whether this is an abstract method. |
IsAssembly (inherited from MethodBase) | Retrieves whether this is an abstract method. |
IsConstructor (inherited from MethodBase) | If set, the method is a constructor. |
IsFamily (inherited from MethodBase) | If set, this method can be called by all subclasses, wherever they are, but not by unrelated classes. |
IsFamilyAndAssembly (inherited from MethodBase) | If set, this method can be called by subclasses if they are in the same assembly. |
IsFamilyOrAssembly (inherited from MethodBase) | If set, this method can be called by subclasses, wherever they are, and by all classes in the same assembly. |
IsFinal (inherited from MethodBase) | If set, this method cannot be overridden by a subclass. |
IsHideBySig (inherited from MethodBase) | [To be supplied.] |
IsPrivate (inherited from MethodBase) | If set, this method can be called only by other members of the class itself. |
IsPublic (inherited from MethodBase) | Retrieves whether this is a public method. |
IsSpecialName (inherited from MethodBase) | If set, this method has a special name. |
IsStatic (inherited from MethodBase) | If set, the method is static. |
IsVirtual (inherited from MethodBase) | Retrieves a value indicating whether the method is virtual. |
MemberType (inherited from MethodInfo) | Retrieves a value indicating that this member is a method. |
MethodHandle | Retrieves the internal handle for the method. Use this handle to access the underlying metadata handle. |
Name | Retrieves the name of this method. |
ReflectedType | Retrieves the class that was used in reflection to obtain this object. |
ReturnType | Retrieves the Type of this method's return value. |
ReturnTypeCustomAttributes | Returns the custom attributes of the method's return type. |
Signature | Retrieves the signature of the field. |