TypeDescriptor::GetReflectionType Method (Object^)
.NET Framework (current version)
Returns a Type that can be used to perform reflection, given an object.
Assembly: System (in System.dll)
Parameters
- instance
-
Type:
System::Object^
An instance of the target component.
| Exception | Condition |
|---|---|
| ArgumentNullException | instance is null. |
The GetReflectionType method is a low-level version of the GetTypeDescriptor method. GetReflectionType is typically used to perform standard reflection against an object when no custom type descriptor can be located for it.
.NET Framework
Available since 2.0
Available since 2.0
Show: