ModuleHandle Structure
TOC
Collapse the table of content
Expand the table of content

ModuleHandle Structure

 

Represents a runtime handle for a module.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

[ComVisibleAttribute(true)]
public struct ModuleHandle

NameDescription
System_CAPS_pubpropertyMDStreamVersion

Gets the metadata stream version.

NameDescription
System_CAPS_pubmethodEquals(ModuleHandle)

Returns a Boolean value indicating whether the specified ModuleHandle structure is equal to the current ModuleHandle.

System_CAPS_pubmethodEquals(Object)

Returns a Boolean value indicating whether the specified object is a ModuleHandle structure, and equal to the current ModuleHandle.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetRuntimeFieldHandleFromMetadataToken(Int32)

Returns a runtime handle for the field identified by the specified metadata token.

System_CAPS_pubmethodGetRuntimeMethodHandleFromMetadataToken(Int32)

Returns a runtime method handle for the method or constructor identified by the specified metadata token.

System_CAPS_pubmethodGetRuntimeTypeHandleFromMetadataToken(Int32)

Returns a runtime type handle for the type identified by the specified metadata token.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodResolveFieldHandle(Int32)

Returns a runtime handle for the field identified by the specified metadata token.

System_CAPS_pubmethodResolveFieldHandle(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.

System_CAPS_pubmethodResolveMethodHandle(Int32)

Returns a runtime method handle for the method or constructor identified by the specified metadata token.

System_CAPS_pubmethodResolveMethodHandle(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.

System_CAPS_pubmethodResolveTypeHandle(Int32)

Returns a runtime type handle for the type identified by the specified metadata token.

System_CAPS_pubmethodResolveTypeHandle(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.

System_CAPS_pubmethodToString()

Returns the fully qualified type name of this instance.(Inherited from ValueType.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticEmptyHandle

Represents an empty module handle.

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(ModuleHandle, ModuleHandle)

Tests whether two ModuleHandle structures are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(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.

.NET Framework
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.

Return to top
Show:
© 2016 Microsoft