Share via


AggregateClauseSyntax.WithVariables Method

Definition

Returns a copy of this with the Variables 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 ^ WithVariables(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::CollectionRangeVariableSyntax ^> variables);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.AggregateClauseSyntax WithVariables (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionRangeVariableSyntax> variables);
member this.WithVariables : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionRangeVariableSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AggregateClauseSyntax
Public Function WithVariables (variables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax)) As AggregateClauseSyntax

Parameters

Returns

Applies to