TypeDescriptor.GetReflectionType メソッド

定義

リフレクションの実行に使用できる Type を返します。

オーバーロード

名前 説明
GetReflectionType(Object)

オブジェクトを指定してリフレクションを実行するために使用できる Type を返します。

GetReflectionType(Type)

クラス型を指定して、リフレクションの実行に使用できる Type を返します。

GetReflectionType(Object)

オブジェクトを指定してリフレクションを実行するために使用できる Type を返します。

public:
 static Type ^ GetReflectionType(System::Object ^ instance);
public static Type GetReflectionType(object instance);
static member GetReflectionType : obj -> Type
Public Shared Function GetReflectionType (instance As Object) As Type

パラメーター

instance
Object

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

返品

指定したオブジェクトの Type

例外

instancenullです。

注釈

GetReflectionType メソッドは、GetTypeDescriptor メソッドの下位バージョンです。 GetReflectionType は通常、カスタム型記述子が見つからない場合にオブジェクトに対して標準リフレクションを実行するために使用されます。

こちらもご覧ください

適用対象

GetReflectionType(Type)

クラス型を指定して、リフレクションの実行に使用できる Type を返します。

public:
 static Type ^ GetReflectionType(Type ^ type);
public static Type GetReflectionType(Type type);
static member GetReflectionType : Type -> Type
Public Shared Function GetReflectionType (type As Type) As Type

パラメーター

type
Type

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

返品

指定したクラスの Type

例外

typenullです。

注釈

GetReflectionType メソッドは、GetTypeDescriptor メソッドの下位バージョンです。 GetReflectionType は通常、カスタム型記述子が見つからない場合にクラスに対して標準リフレクションを実行するために使用されます。

こちらもご覧ください

適用対象