AggregateClauseSyntax.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::AggregateClauseSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken aggregateKeyword, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::CollectionRangeVariableSyntax ^> variables, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::QueryClauseSyntax ^> additionalQueryOperators, Microsoft::CodeAnalysis::SyntaxToken intoKeyword, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AggregationRangeVariableSyntax ^> aggregationVariables);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.AggregateClauseSyntax Update (Microsoft.CodeAnalysis.SyntaxToken aggregateKeyword, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionRangeVariableSyntax> variables, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.QueryClauseSyntax> additionalQueryOperators, Microsoft.CodeAnalysis.SyntaxToken intoKeyword, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AggregationRangeVariableSyntax> aggregationVariables);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionRangeVariableSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.QueryClauseSyntax> * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AggregationRangeVariableSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AggregateClauseSyntax
Public Function Update (aggregateKeyword As SyntaxToken, variables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), additionalQueryOperators As SyntaxList(Of QueryClauseSyntax), intoKeyword As SyntaxToken, aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As AggregateClauseSyntax

Parameters

aggregateKeyword
SyntaxToken

The value for the AggregateKeyword property.

variables
SeparatedSyntaxList<CollectionRangeVariableSyntax>

The value for the Variables property.

additionalQueryOperators
SyntaxList<QueryClauseSyntax>

The value for the AdditionalQueryOperators property.

intoKeyword
SyntaxToken

The value for the IntoKeyword property.

aggregationVariables
SeparatedSyntaxList<AggregationRangeVariableSyntax>

The value for the AggregationVariables property.

Returns

Applies to