CodeGenerator.GenerateEntryPointMethod(CodeEntryPointMethod, CodeTypeDeclaration) 方法

定义

为指定的入口点方法生成代码。Generates code for the specified entry point method.

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

参数

e
CodeEntryPointMethod

代码的入口点。The entry point for the code.

c
CodeTypeDeclaration

声明类型的代码。The code that declares the type.

适用于

另请参阅