TypeDescriptionProvider.GetRuntimeType(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a reflection type into a runtime type.
public:
virtual Type ^ GetRuntimeType(Type ^ reflectionType);
public virtual Type GetRuntimeType (Type reflectionType);
abstract member GetRuntimeType : Type -> Type
override this.GetRuntimeType : Type -> Type
Public Overridable Function GetRuntimeType (reflectionType As Type) As Type
Parameters
- reflectionType
- Type
The type to convert to its runtime equivalent.
Returns
A Type that represents the runtime equivalent of reflectionType
.
Exceptions
reflectionType
is null
.
Remarks
The GetRuntimeType method reverses the GetReflectionType 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.
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za