編輯

共用方式為


CodeGenerator.GenerateEvent(CodeMemberEvent, CodeTypeDeclaration) Method

Definition

Generates code for the specified event.

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

Parameters

e
CodeMemberEvent

The member event to generate code for.

c
CodeTypeDeclaration

The type of the object that this event occurs on.

Applies to

See also