GetTypeFromHandle Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the type referenced by the specified type handle.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Shared Function GetTypeFromHandle ( _
handle As RuntimeTypeHandle _
) As Type
public static Type GetTypeFromHandle(
RuntimeTypeHandle handle
)
public:
static Type^ GetTypeFromHandle(
RuntimeTypeHandle handle
)
static member GetTypeFromHandle :
handle:RuntimeTypeHandle -> Type
public static function GetTypeFromHandle(
handle : RuntimeTypeHandle
) : Type
Parameters
- handle
Type: System. . :: . .RuntimeTypeHandle
The object that refers to the type.
Return Value
Type: System. . :: . .Type
The type referenced by the specified RuntimeTypeHandle, or nullNothingnullptrunita null reference (Nothing in Visual Basic) if the Value property of handle is nullNothingnullptrunita null reference (Nothing in Visual Basic).
Remarks
The handles are valid only in the application domain in which they were obtained.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.