指定した名前で型を読み込みます。
Function GetType( _
ByVal name As String _) As Type
[C#]
Type GetType(
stringname);
[C++]
Type* GetType(
String* name);
[JScript]
function GetType(
name : String) : Type;
パラメータ
- name
型の名前。型名がアセンブリを示す完全限定名でない場合、このサービスは参照先アセンブリの内部セットを検索します。
戻り値
指定した名前に対応する Type のインスタンス。型が見つからない場合は null 参照 (Visual Basic では Nothing) 。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
ITypeResolutionService インターフェイス | ITypeResolutionService メンバ | System.ComponentModel.Design 名前空間 | ITypeResolutionService.GetType オーバーロードの一覧