次の方法で共有


ICodeGenerator.GetTypeOutput メソッド

指定した CodeTypeReference で示される型を取得します。

Function GetTypeOutput( _
   ByVal type As CodeTypeReference _) As String
[C#]
string GetTypeOutput(
   CodeTypeReferencetype);
[C++]
String* GetTypeOutput(
   CodeTypeReference* type);
[JScript]
function GetTypeOutput(
   type : CodeTypeReference) : String;

パラメータ

戻り値

コード ジェネレータがコードの生成用として対応している言語での、指定した型のテキスト表現。たとえば、Visual Basic では、System.Int32 型を渡すと "Integer" が返されます。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

ICodeGenerator インターフェイス | ICodeGenerator メンバ | System.CodeDom.Compiler 名前空間