Partilhar via


WithEventsPropertyEventContainerSyntax.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::WithEventsPropertyEventContainerSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::WithEventsEventContainerSyntax ^ withEventsContainer, Microsoft::CodeAnalysis::SyntaxToken dotToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::IdentifierNameSyntax ^ property);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.WithEventsPropertyEventContainerSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.WithEventsEventContainerSyntax withEventsContainer, Microsoft.CodeAnalysis.SyntaxToken dotToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax property);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.WithEventsEventContainerSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.WithEventsPropertyEventContainerSyntax
Public Function Update (withEventsContainer As WithEventsEventContainerSyntax, dotToken As SyntaxToken, property As IdentifierNameSyntax) As WithEventsPropertyEventContainerSyntax

Parameters

withEventsContainer
WithEventsEventContainerSyntax

The value for the WithEventsContainer property.

dotToken
SyntaxToken

The value for the DotToken property.

property
IdentifierNameSyntax

The value for the Property property.

Returns

Applies to