SyntaxGenerator.RemoveEventHandler(SyntaxNode, SyntaxNode) 方法

定义

创建一个语句,该语句从给定事件中删除给定处理程序。

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

参数

event
SyntaxNode
handler
SyntaxNode

返回

适用于