TypeDescriptionProvider::GetTypeDescriptor Method (Object^)
.NET Framework (current version)
Gets a custom type descriptor for the given object.
Assembly: System (in System.dll)
Parameters
- instance
-
Type:
System::Object^
An instance of the type. Can be null if no instance was passed to the TypeDescriptor.
Return Value
Type: System.ComponentModel::ICustomTypeDescriptor^An ICustomTypeDescriptor that can provide metadata for the type.
| Exception | Condition |
|---|---|
| ArgumentNullException | instance is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: