GetTypeFromHandle Method

Type.GetTypeFromHandle Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the type referenced by the specified type handle.

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

'Declaration
Public Shared Function GetTypeFromHandle ( _
	handle As RuntimeTypeHandle _
) As Type

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 Nothing if the value of the handle is Nothing.

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:
© 2017 Microsoft