次の方法で共有


CodeGenerator.OutputTypeNamePair メソッド

指定したオブジェクト型とオブジェクト名の組み合わせのコードを生成します。

Protected Overridable Sub OutputTypeNamePair( _
   ByVal typeRef As CodeTypeReference, _   ByVal name As String _)
[C#]
protected virtual void OutputTypeNamePair(CodeTypeReferencetypeRef,stringname);
[C++]
protected: virtual void OutputTypeNamePair(CodeTypeReference* typeRef,String* name);
[JScript]
protected function OutputTypeNamePair(
   typeRef : CodeTypeReference,name : String);

パラメータ

  • typeRef
    型。
  • name
    オブジェクトの名前。

必要条件

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

参照

CodeGenerator クラス | CodeGenerator メンバ | System.CodeDom.Compiler 名前空間