Compartir a través de


HandlesClauseSyntax.Update Method

Definition

Returns a copy of this with the specified changes. Returns this instance if there are no actual changes.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::HandlesClauseSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken handlesKeyword, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::HandlesClauseItemSyntax ^> events);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseSyntax Update (Microsoft.CodeAnalysis.SyntaxToken handlesKeyword, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseItemSyntax> events);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseItemSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseSyntax
Public Function Update (handlesKeyword As SyntaxToken, events As SeparatedSyntaxList(Of HandlesClauseItemSyntax)) As HandlesClauseSyntax

Parameters

handlesKeyword
SyntaxToken

The value for the HandlesKeyword property.

events
SeparatedSyntaxList<HandlesClauseItemSyntax>

The value for the Events property.

Returns

Applies to