Language

TypeDescriptor.GetProvider メソッド

定義

コンポーネントまたは型の型の説明プロバイダーを返します。

オーバーロード

名前 説明
GetProvider(Type)

指定した型の型の説明プロバイダーを返します。

GetProvider(Object)

指定したコンポーネントの型の説明プロバイダーを返します。

GetProvider(Type)

ソース:
TypeDescriptor.cs
ソース:
TypeDescriptor.cs
ソース:
TypeDescriptor.cs
ソース:
TypeDescriptor.cs
ソース:
TypeDescriptor.cs

指定した型の型の説明プロバイダーを返します。

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

パラメーター

type
Type

ターゲット コンポーネントの Type 。

返品

指定した型に関連付けられている TypeDescriptionProvider 。

例外

type は nullです。

注釈

GetProvider メソッドは常に型記述プロバイダーを返します。 既定の TypeDescriptor 実装でも、 TypeDescriptionProviderに基づいて構築されます。

こちらもご覧ください

適用対象

GetProvider(Object)

ソース:
TypeDescriptor.cs
ソース:
TypeDescriptor.cs
ソース:
TypeDescriptor.cs
ソース:
TypeDescriptor.cs
ソース:
TypeDescriptor.cs

指定したコンポーネントの型の説明プロバイダーを返します。

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

パラメーター

instance
Object

ターゲット コンポーネントのインスタンス。

返品

指定したコンポーネントに関連付けられている TypeDescriptionProvider 。

例外

instance は nullです。

注釈

GetProvider メソッドは常に型記述プロバイダーを返します。 既定の TypeDescriptor 実装でも、 TypeDescriptionProviderに基づいて構築されます。

こちらもご覧ください

適用対象