共用方式為


CodeGenerator.OutputTypeNamePair(CodeTypeReference, String) 方法

定義

為指定的物件型別和名稱配對產生程式碼。

protected:
 virtual void OutputTypeNamePair(System::CodeDom::CodeTypeReference ^ typeRef, System::String ^ name);
protected virtual void OutputTypeNamePair (System.CodeDom.CodeTypeReference typeRef, string name);
abstract member OutputTypeNamePair : System.CodeDom.CodeTypeReference * string -> unit
override this.OutputTypeNamePair : System.CodeDom.CodeTypeReference * string -> unit
Protected Overridable Sub OutputTypeNamePair (typeRef As CodeTypeReference, name As String)

參數

typeRef
CodeTypeReference

類型。

name
String

物件的名稱。

適用於