TypeDescriptor::GetProvider Method (Object^)
.NET Framework (current version)
Returns the type description provider for the specified component.
Assembly: System (in System.dll)
Parameters
- instance
-
Type:
System::Object^
An instance of the target component.
Return Value
Type: System.ComponentModel::TypeDescriptionProvider^A TypeDescriptionProvider associated with the specified component.
| Exception | Condition |
|---|---|
| ArgumentNullException | instance is null. |
The GetProvider method will always return a type description provider. Even the default TypeDescriptor implementation is built on a TypeDescriptionProvider.
.NET Framework
Available since 2.0
Available since 2.0
Show: