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.
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.TypeThe type referenced by the specified RuntimeTypeHandle, or Nothing if the value of the handle is Nothing.
| Exception | Condition |
|---|---|
| TargetInvocationException | A class initializer is invoked and throws an exception. |
Show: