TypeDescriptor.GetProvider TypeDescriptor.GetProvider TypeDescriptor.GetProvider TypeDescriptor.GetProvider Method

Definition

Returns the type description provider for the component or type.

Overloads

GetProvider(Object) GetProvider(Object) GetProvider(Object) GetProvider(Object)

Returns the type description provider for the specified component.

GetProvider(Type) GetProvider(Type) GetProvider(Type)

Returns the type description provider for the specified type.

GetProvider(Object) GetProvider(Object) GetProvider(Object) GetProvider(Object)

Returns the type description provider for the specified component.

public:
 static System::ComponentModel::TypeDescriptionProvider ^ GetProvider(System::Object ^ instance);
public static System.ComponentModel.TypeDescriptionProvider GetProvider (object instance);
static member GetProvider : obj -> System.ComponentModel.TypeDescriptionProvider
Public Shared Function GetProvider (instance As Object) As TypeDescriptionProvider

Parameters

instance
Object Object Object Object

An instance of the target component.

Returns

Exceptions

Remarks

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

See also

GetProvider(Type) GetProvider(Type) GetProvider(Type)

Returns the type description provider for the specified type.

public:
 static System::ComponentModel::TypeDescriptionProvider ^ GetProvider(Type ^ type);
public static System.ComponentModel.TypeDescriptionProvider GetProvider (Type type);
static member GetProvider : Type -> System.ComponentModel.TypeDescriptionProvider

Parameters

type
Type Type Type Type

The Type of the target component.

Returns

Exceptions

Remarks

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

See also

Applies to