Uredi

Deli z drugimi prek


TypeDescriptionProviderService.GetProvider Method

Definition

Gets a type description provider for a type or object.

Overloads

GetProvider(Object)

Gets a type description provider for the specified object.

GetProvider(Type)

Gets a type description provider for the specified type.

GetProvider(Object)

Gets a type description provider for the specified object.

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

Parameters

instance
Object

The object to get a type description provider for.

Returns

A TypeDescriptionProvider that corresponds with instance.

Applies to

GetProvider(Type)

Gets a type description provider for the specified type.

public:
 abstract System::ComponentModel::TypeDescriptionProvider ^ GetProvider(Type ^ type);
public abstract System.ComponentModel.TypeDescriptionProvider GetProvider (Type type);
abstract member GetProvider : Type -> System.ComponentModel.TypeDescriptionProvider
Public MustOverride Function GetProvider (type As Type) As TypeDescriptionProvider

Parameters

type
Type

The type to get a type description provider for.

Returns

A TypeDescriptionProvider that corresponds with type.

Applies to