NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MethodBuilder Members

Public:

Properties

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.

Methods

AddDeclarativeSecurity Adds declarative security to this method.
CreateMethodBody Creates the body of the method using the given array of IL instructions.
DefineParameter Defines a parameter of this method.
Equals Determines whether the given object is equal to this instance.
GetBaseDefinition Return the base implementation for a method.
GetCustomAttributes Overloaded. Overloaded. Returns the custom attributes defined for this method.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetILGenerator Returns an ILGenerator for this method.
GetImplementationFlags Gets the implementation flags for the method.
GetMethodImplementationFlags Returns the implementation flags for the method.
GetModule Returns a reference to the module that contains this method.
GetParameters Returns the parameters of this method.
GetToken Returns the MethodToken that represents the token for this method.
GetType (inherited from Object) Gets the Type of the Object.
Invoke Overloaded. [To be supplied.]
IsDefined Checks if the specified custom attribute type is defined.
SetCustomAttribute Overloaded. Sets a custom attribute.
SetImplementationFlags Sets the implementation flags for this method.
SetMarshal Sets marshalling information for the return type of this method.
SetSymCustomAttribute Set a custom attribute using a specified custom attribute blob.
ToString Returns this MethodBuilder instance as a String.

Protected:

Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

MethodBuilder Class | System.Reflection.Emit Namespace