Type.GetTypeCode メソッド
アセンブリ: mscorlib (mscorlib.dll 内)

Dim type As Type Dim returnValue As TypeCode returnValue = Type.GetTypeCode(type)
戻り値
基になる型の TypeCode 値。

' Creates an object of 'Type' class. Dim myType1 As Type = Type.GetType("System.Int32") ' Get the 'TypeCode' of the 'Type' class object created above. Dim myTypeCode As TypeCode = Type.GetTypeCode(myType1) Console.WriteLine("TypeCode is: {0}", myTypeCode)
// Create an object of 'Type' class. Type myType1 = Type.GetType("System.Int32"); // Get the 'TypeCode' of the 'Type' class object created above. TypeCode myTypeCode = Type.GetTypeCode(myType1); Console.WriteLine("TypeCode is: {0}",myTypeCode);

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からType.GetTypeCode メソッドを検索する場合は、下記のリンクをクリックしてください。

- Type.GetTypeCode メソッドのページへのリンク