TypeDescriptionProvider::GetRuntimeType Method (Type^)
.NET Framework (current version)
Converts a reflection type into a runtime type.
Assembly: System (in System.dll)
Parameters
- reflectionType
-
Type:
System::Type^
The type to convert to its runtime equivalent.
| Exception | Condition |
|---|---|
| ArgumentNullException | reflectionType is null. |
The GetRuntimeType method reverses theGetReflectionType method to convert a reflection type back into a runtime type. Using the GetRuntimeType method is preferred over using the UnderlyingSystemType property, which was used in earlier versions to return the runtime type.
.NET Framework
Available since 4.0
Available since 4.0
Show: