Compartir a través de


HandlesClauseItemSyntax.WithEventMember(IdentifierNameSyntax) Method

Definition

Returns a copy of this with the EventMember property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::HandlesClauseItemSyntax ^ WithEventMember(Microsoft::CodeAnalysis::VisualBasic::Syntax::IdentifierNameSyntax ^ eventMember);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseItemSyntax WithEventMember (Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax eventMember);
member this.WithEventMember : Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseItemSyntax
Public Function WithEventMember (eventMember As IdentifierNameSyntax) As HandlesClauseItemSyntax

Parameters

eventMember
IdentifierNameSyntax

Returns

Applies to