ModuleHandle Structure
Represents a runtime handle for a module.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | MDStreamVersion | Gets the metadata stream version. |
| 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(Int32) | Returns a runtime handle for the field identified by the specified metadata token. |
![]() | GetRuntimeMethodHandleFromMetadataToken(Int32) | Returns a runtime method handle for the method or constructor identified by the specified metadata token. |
![]() | GetRuntimeTypeHandleFromMetadataToken(Int32) | Returns a runtime type handle for the type identified by the specified metadata token. |
![]() | GetType() | |
![]() | ResolveFieldHandle(Int32) | Returns a runtime handle for the field identified by the specified metadata token. |
![]() | ResolveFieldHandle(Int32, array<RuntimeTypeHandle>^, array<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, array<RuntimeTypeHandle>^, array<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, array<RuntimeTypeHandle>^, array<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 | |
|---|---|---|
![]() ![]() | EmptyHandle | Represents an empty module handle. |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality(ModuleHandle, ModuleHandle) | Tests whether two ModuleHandle structures are equal. |
![]() ![]() | Inequality(ModuleHandle, ModuleHandle) | 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.
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




