Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MethodBuilder Properties

The properties of the MethodBuilder class are listed here. For a complete list of MethodBuilder class members, see the MethodBuilder Members topic.

Public Properties

public propertyAttributes Overridden. Retrieves the attributes for this method.
public propertyCallingConvention Overridden. Returns the calling convention of the method.
public propertyDeclaringType Overridden. Returns the type that declares this method.
public propertyInitLocals Gets or sets whether the local variables in this method should be zero initialized. The default value of this property is true.
public propertyIsAbstract (inherited from MethodBase) Gets a value indicating whether the method is abstract.
public propertyIsAssembly (inherited from MethodBase) Gets a value indicating whether this method can be called by other classes in the same assembly.
public propertyIsConstructor (inherited from MethodBase) Gets a value indicating whether the method is a constructor.
public propertyIsFamily (inherited from MethodBase) Gets a value indicating whether access to this method is restricted to members of the class and members of its derived classes.
public propertyIsFamilyAndAssembly (inherited from MethodBase) Gets a value indicating whether this method can be called by derived classes if they are in the same assembly.
public propertyIsFamilyOrAssembly (inherited from MethodBase) Gets a value indicating whether this method can be called by derived classes, wherever they are, and by all classes in the same assembly.
public propertyIsFinal (inherited from MethodBase) Gets a value indicating whether this method is final.
public propertyIsHideBySig (inherited from MethodBase) Gets a value indicating whether only a member of the same kind with exactly the same signature is hidden in the derived class.
public propertyIsPrivate (inherited from MethodBase) Gets a value indicating whether this member is private.
public propertyIsPublic (inherited from MethodBase) Gets a value indicating whether this is a public method.
public propertyIsSpecialName (inherited from MethodBase) Gets a value indicating whether this method has a special name.
public propertyIsStatic (inherited from MethodBase) Gets a value indicating whether the method is static (Shared in Visual Basic) .
public propertyIsVirtual (inherited from MethodBase) Gets a value indicating whether the method is virtual (Overridable in Visual Basic) .
public propertyMemberType (inherited from MethodInfo) Overridden. Gets a value indicating that this member is a method.
public propertyMethodHandle Overridden. Retrieves the internal handle for the method. Use this handle to access the underlying metadata handle.
public propertyName Overridden. Retrieves the name of this method.
public propertyReflectedType Overridden. Retrieves the class that was used in reflection to obtain this object.
public propertyReturnType Overridden. Retrieves the type of this methods return value.
public propertyReturnTypeCustomAttributes Overridden. Returns the custom attributes of the method's return type.
public propertySignature Retrieves the signature of the field.

See Also

MethodBuilder Class | System.Reflection.Emit Namespace

Show:
© 2015 Microsoft