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

对象的名称。

适用于