指定した型で使用される、指定した基本型のエディタを取得します。
Overloads Public Shared Function GetEditor( _
ByVal type As Type, _ ByVal editorBaseType As Type _) As Object
[C#]
public static object GetEditor(Typetype,TypeeditorBaseType);
[C++]
public: static Object* GetEditor(Type* type,Type* editorBaseType);
[JScript]
public static function GetEditor(
type : Type,editorBaseType : Type) : Object;
パラメータ
戻り値
特定の基本型にキャストできるエディタ オブジェクトのインスタンス。要求した型のエディタが見つからなかった場合は、 null 参照 (Visual Basic では Nothing) を返します。
解説
1 つの型に対して複数のエディタを定義できます。このメソッドを使用して、使用するエディタを選択します。
このメソッドのこの形式は、オブジェクトのインスタンスがない場合にだけ呼び出します。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
TypeDescriptor クラス | TypeDescriptor メンバ | System.ComponentModel 名前空間 | TypeDescriptor.GetEditor オーバーロードの一覧