共用方式為


HandlesClauseItemSyntax.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::HandlesClauseItemSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::EventContainerSyntax ^ eventContainer, Microsoft::CodeAnalysis::SyntaxToken dotToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::IdentifierNameSyntax ^ eventMember);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseItemSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.EventContainerSyntax eventContainer, Microsoft.CodeAnalysis.SyntaxToken dotToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax eventMember);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.EventContainerSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseItemSyntax
Public Function Update (eventContainer As EventContainerSyntax, dotToken As SyntaxToken, eventMember As IdentifierNameSyntax) As HandlesClauseItemSyntax

Parameters

eventContainer
EventContainerSyntax

The value for the EventContainer property.

dotToken
SyntaxToken

The value for the DotToken property.

eventMember
IdentifierNameSyntax

The value for the EventMember property.

Returns

Applies to