Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Type.GetTypeFromHandle Method

Gets the type referenced by the specified type handle.

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

public static Type GetTypeFromHandle(
	RuntimeTypeHandle handle
)

Parameters

handle
Type: System.RuntimeTypeHandle
The RuntimeTypeHandle object that refers to the type.

Return Value

Type: System.Type
The type referenced by the specified RuntimeTypeHandle, or null if the value of the handle is null.

ExceptionCondition
TargetInvocationException

A class initializer is invoked and throws an exception.

The handles are valid only in the application domain in which they were obtained.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft