TypeDescriptor.GetProvider Method (Type)

Returns the type description provider for the specified type.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)

'Declaration
Public Shared Function GetProvider ( _
	type As Type _
) As TypeDescriptionProvider

Parameters

type
Type: System.Type

The Type of the target component.

Return Value

Type: System.ComponentModel.TypeDescriptionProvider
A TypeDescriptionProvider associated with the specified type.

ExceptionCondition
ArgumentNullException

type is Nothing.

The GetProvider method will always return a type description provider. Even the default TypeDescriptor implementation is built on a TypeDescriptionProvider.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft