共用方式為


KeywordEventContainerSyntax.Update(SyntaxToken) 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::KeywordEventContainerSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken keyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.KeywordEventContainerSyntax Update (Microsoft.CodeAnalysis.SyntaxToken keyword);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.KeywordEventContainerSyntax
Public Function Update (keyword As SyntaxToken) As KeywordEventContainerSyntax

Parameters

keyword
SyntaxToken

The value for the Keyword property.

Returns

Applies to