SyntaxGenerator.AddEventHandler(SyntaxNode, SyntaxNode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a statement that adds the given handler to the given event.
public:
abstract Microsoft::CodeAnalysis::SyntaxNode ^ AddEventHandler(Microsoft::CodeAnalysis::SyntaxNode ^ event, Microsoft::CodeAnalysis::SyntaxNode ^ handler);
public abstract Microsoft.CodeAnalysis.SyntaxNode AddEventHandler (Microsoft.CodeAnalysis.SyntaxNode event, Microsoft.CodeAnalysis.SyntaxNode handler);
abstract member AddEventHandler : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function AddEventHandler (event As SyntaxNode, handler As SyntaxNode) As SyntaxNode
Parameters
- event
- SyntaxNode
- handler
- SyntaxNode
Returns
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.