共用方式為


CSharpSyntaxVisitor.VisitEventDeclaration(EventDeclarationSyntax) 方法

定義

當訪客造訪 EventDeclarationSyntax 節點時呼叫。

public:
 virtual void VisitEventDeclaration(Microsoft::CodeAnalysis::CSharp::Syntax::EventDeclarationSyntax ^ node);
public virtual void VisitEventDeclaration (Microsoft.CodeAnalysis.CSharp.Syntax.EventDeclarationSyntax node);
abstract member VisitEventDeclaration : Microsoft.CodeAnalysis.CSharp.Syntax.EventDeclarationSyntax -> unit
override this.VisitEventDeclaration : Microsoft.CodeAnalysis.CSharp.Syntax.EventDeclarationSyntax -> unit
Public Overridable Sub VisitEventDeclaration (node As EventDeclarationSyntax)

參數

適用於