ModuleHandle Structure
.NET Framework 4.5
Represents a runtime handle for a module.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
The ModuleHandle type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Equals(ModuleHandle) | Returns a Boolean value indicating whether the specified ModuleHandle structure is equal to the current ModuleHandle. |
![]() | Equals(Object) | Returns a Boolean value indicating whether the specified object is a ModuleHandle structure, and equal to the current ModuleHandle. (Overrides ValueType.Equals(Object).) |
![]() | GetHashCode | Returns the hash code for this instance. (Overrides ValueType.GetHashCode.) |
![]() | GetRuntimeFieldHandleFromMetadataToken | Returns a runtime handle for the field identified by the specified metadata token. |
![]() | GetRuntimeMethodHandleFromMetadataToken | Returns a runtime method handle for the method or constructor identified by the specified metadata token. |
![]() | GetRuntimeTypeHandleFromMetadataToken | Returns a runtime type handle for the type identified by the specified metadata token. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ResolveFieldHandle(Int32) | Returns a runtime handle for the field identified by the specified metadata token. |
![]() | ResolveFieldHandle(Int32, RuntimeTypeHandle(), RuntimeTypeHandle()) | Returns a runtime field handle for the field identified by the specified metadata token, specifying the generic type arguments of the type and method where the token is in scope. |
![]() | ResolveMethodHandle(Int32) | Returns a runtime method handle for the method or constructor identified by the specified metadata token. |
![]() | ResolveMethodHandle(Int32, RuntimeTypeHandle(), RuntimeTypeHandle()) | Returns a runtime method handle for the method or constructor identified by the specified metadata token, specifying the generic type arguments of the type and method where the token is in scope. |
![]() | ResolveTypeHandle(Int32) | Returns a runtime type handle for the type identified by the specified metadata token. |
![]() | ResolveTypeHandle(Int32, RuntimeTypeHandle(), RuntimeTypeHandle()) | Returns a runtime type handle for the type identified by the specified metadata token, specifying the generic type arguments of the type and method where the token is in scope. |
![]() | ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality | Tests whether two ModuleHandle structures are equal. |
![]() ![]() | Inequality | Tests whether two ModuleHandle structures are unequal. |
The ResolveFieldHandle, ResolveMethodHandle, and ResolveTypeHandle methods provide efficient resolution of metadata tokens to runtime handles for fields, methods, and types in the current module.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.gif?cs-save-lang=1&cs-lang=vb)
.gif?cs-save-lang=1&cs-lang=vb)
.gif?cs-save-lang=1&cs-lang=vb)
.gif?cs-save-lang=1&cs-lang=vb)
.gif?cs-save-lang=1&cs-lang=vb)