Share via


AggregateClauseSyntax.WithAggregateKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the AggregateKeyword 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::AggregateClauseSyntax ^ WithAggregateKeyword(Microsoft::CodeAnalysis::SyntaxToken aggregateKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.AggregateClauseSyntax WithAggregateKeyword (Microsoft.CodeAnalysis.SyntaxToken aggregateKeyword);
member this.WithAggregateKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AggregateClauseSyntax
Public Function WithAggregateKeyword (aggregateKeyword As SyntaxToken) As AggregateClauseSyntax

Parameters

aggregateKeyword
SyntaxToken

Returns

Applies to