Rediger

Del via


CodeGenerator.GenerateConstructor Method

Definition

Generates code for the specified constructor.

protected:
 abstract void GenerateConstructor(System::CodeDom::CodeConstructor ^ e, System::CodeDom::CodeTypeDeclaration ^ c);
protected abstract void GenerateConstructor (System.CodeDom.CodeConstructor e, System.CodeDom.CodeTypeDeclaration c);
abstract member GenerateConstructor : System.CodeDom.CodeConstructor * System.CodeDom.CodeTypeDeclaration -> unit
Protected MustOverride Sub GenerateConstructor (e As CodeConstructor, c As CodeTypeDeclaration)

Parameters

e
CodeConstructor

The constructor to generate code for.

c
CodeTypeDeclaration

The type of the object that this constructor constructs.

Applies to

See also