Module Methods

The Module type exposes the following members.

  NameDescription
Public method Equals Determines whether this module and the specified object are equal. (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetCustomAttributes(Boolean) Returns all custom attributes.
Public method GetCustomAttributes(Type, Boolean) Returns custom attributes of the specified type.
Public method GetField(String) Returns the global field that has the specified name.
Public method GetField(String, BindingFlags) Returns the global field that has the specified name and binding attributes.
Public method GetFields() Returns the global fields defined on the module.
Public method GetFields(BindingFlags) Returns the global fields that are defined on the module and that match the specified binding flags.
Public method GetHashCode Returns the hash code for this instance. (Overrides Object.GetHashCode().)
Public method GetMethod(String) Returns the global method that has the specified name.
Public method GetMethod(String, Type[]) Returns the global method that matches the specified name and parameter types.
Public method GetMethod(String, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[]) Returns the global method that has the specified name, binding information, calling convention, and parameter types and modifiers.
Protected method GetMethodImpl In a derived class, provides the implementation for the GetMethod method overloads.
Public method GetMethods() Returns the global methods defined on the module.
Public method GetMethods(BindingFlags) Returns the global methods that are defined on the module and that match the specified binding flags.
Public method GetType() Gets the Type of the current instance. (Inherited from Object.)
Public method GetType(String) Returns the specified type, performing a case-sensitive search.
Public method GetType(String, Boolean) Returns the specified type, searching the module with the specified case sensitivity.
Public method GetType(String, Boolean, Boolean) Returns the specified type, specifying whether to make a case-sensitive search of the module and whether to throw an exception if the type cannot be found.
Public method GetTypes Returns all the types defined within this module.
Public method IsDefined Determines if the specified attribute type is applied to this module.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ResolveMethod(Int32) Returns the method or constructor that is identified by the specified metadata token.
Public method ResolveMethod(Int32, Type[], Type[]) Returns the method or constructor that is identified by the specified metadata token, in the context defined by the specified generic type parameters.
Public method ResolveString Returns the string that is identified by the specified metadata token.
Public method ResolveType(Int32) Returns the type that is identified by the specified metadata token.
Public method ResolveType(Int32, Type[], Type[]) Returns the type that is identified by the specified metadata token, in the context defined by the specified generic type parameters.
Public method ToString Returns the name of the module. (Overrides Object.ToString().)
Top

  NameDescription
Public Extension Method GetCustomAttribute(Type) Overloaded. Retrieves a custom attribute of a specified type that is applied to a specified module. (Defined by CustomAttributeExtensions.)
Public Extension Method GetCustomAttribute<T>() Overloaded. Retrieves a custom attribute of a specified type that is applied to a specified module. (Defined by CustomAttributeExtensions.)
Public Extension Method GetCustomAttributes() Overloaded. Retrieves a collection of custom attributes that are applied to a specified module. (Defined by CustomAttributeExtensions.)
Public Extension Method GetCustomAttributes(Type) Overloaded. Retrieves a collection of custom attributes of a specified type that are applied to a specified module. (Defined by CustomAttributeExtensions.)
Public Extension Method GetCustomAttributes<T>() Overloaded. Retrieves a collection of custom attributes of a specified type that are applied to a specified module. (Defined by CustomAttributeExtensions.)
Public Extension Method IsDefined Indicates whether custom attributes of a specified type are applied to a specified module. (Defined by CustomAttributeExtensions.)
Top

Show:
© 2015 Microsoft