Module Class
Performs reflection on a module.
Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
The Module type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | Assembly | Gets the appropriate Assembly for this instance of Module. |
![]() ![]() ![]() | FullyQualifiedName | Gets a string representing the fully qualified name and path to this module. |
![]() ![]() ![]() | MetadataToken | Gets a token that identifies the module in metadata. |
![]() ![]() ![]() | Name | Gets the name of the module with the path removed. |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) In Silverlight for Windows Phone, this member is overridden by Equals(Object). In XNA Framework, this member is overridden by Equals(Object). |
![]() ![]() ![]() | 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.) |
![]() ![]() ![]() | GetCustomAttributes(Boolean) | Returns all custom attributes. |
![]() ![]() ![]() | GetCustomAttributes(Type, Boolean) | Returns custom attributes of the specified type. |
![]() ![]() ![]() | GetField(String) | Returns the global field that has the specified name. |
![]() ![]() ![]() | GetField(String, BindingFlags) | Returns the global field that has the specified name and binding attributes. |
![]() ![]() ![]() | GetFields | Returns the global fields defined on the module. |
![]() ![]() ![]() | GetFields(BindingFlags) | Returns the global fields that are defined on the module and that match the specified binding flags. |
![]() ![]() ![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) In Silverlight for Windows Phone, this member is overridden by GetHashCode. In XNA Framework, this member is overridden by GetHashCode. |
![]() ![]() ![]() | GetMethod(String) | Returns the global method that has the specified name. |
![]() ![]() ![]() | GetMethod(String, Type()) | Returns the global method that matches the specified name and parameter types. |
![]() ![]() ![]() | 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. |
![]() ![]() ![]() | GetMethodImpl | In a derived class, provides the implementation for the GetMethod method overloads. |
![]() ![]() ![]() | GetMethods | Returns the global methods defined on the module. |
![]() ![]() ![]() | GetMethods(BindingFlags) | Returns the global methods that are defined on the module and that match the specified binding flags. |
![]() ![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() ![]() | GetType(String) | Returns the specified type, performing a case-sensitive search. |
![]() ![]() ![]() | GetType(String, Boolean) | Returns the specified type, searching the module with the specified case sensitivity. |
![]() ![]() ![]() | 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. |
![]() ![]() ![]() | GetTypes | Returns all the types defined within this module. |
![]() ![]() ![]() | IsDefined | Determines if the specified attribute type is applied to this module. |
![]() ![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ResolveField(Int32) | Returns the field identified by the specified metadata token. |
![]() | ResolveField(Int32, Type(), Type()) | Returns the field identified by the specified metadata token, in the context defined by the specified generic type parameters. |
![]() ![]() ![]() | ResolveMethod(Int32) | Returns the method or constructor that is identified by the specified metadata token. |
![]() ![]() ![]() | 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. |
![]() ![]() ![]() | ResolveString | Returns the string that is identified by the specified metadata token. |
![]() ![]() ![]() | ResolveType(Int32) | Returns the type that is identified by the specified metadata token. |
![]() ![]() ![]() | 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. |
![]() ![]() ![]() | ToString | Returns the name of the module. (Overrides Object.ToString.) |
A module is a portable executable file, such as type.dll or application.exe, consisting of one or more classes and interfaces. There may be multiple namespaces contained in a single module, and a namespace may span multiple modules.
Note: |
|---|
A .NET Framework module is not the same as a module in Visual Basic, which is used by a programmer to organize functions and subroutines in an application. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.





Note: