共用方式為


SyntaxGenerator.RemoveEventHandler(SyntaxNode, SyntaxNode) Method

Definition

Creates a statement that removes the given handler from the given event.

public:
 abstract Microsoft::CodeAnalysis::SyntaxNode ^ RemoveEventHandler(Microsoft::CodeAnalysis::SyntaxNode ^ event, Microsoft::CodeAnalysis::SyntaxNode ^ handler);
public abstract Microsoft.CodeAnalysis.SyntaxNode RemoveEventHandler (Microsoft.CodeAnalysis.SyntaxNode event, Microsoft.CodeAnalysis.SyntaxNode handler);
abstract member RemoveEventHandler : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function RemoveEventHandler (event As SyntaxNode, handler As SyntaxNode) As SyntaxNode

Parameters

event
SyntaxNode
handler
SyntaxNode

Returns

Applies to