Delen via


AggregationRangeVariableSyntax.WithAggregation(AggregationSyntax) Method

Definition

Returns a copy of this with the Aggregation 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::AggregationRangeVariableSyntax ^ WithAggregation(Microsoft::CodeAnalysis::VisualBasic::Syntax::AggregationSyntax ^ aggregation);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.AggregationRangeVariableSyntax WithAggregation (Microsoft.CodeAnalysis.VisualBasic.Syntax.AggregationSyntax aggregation);
member this.WithAggregation : Microsoft.CodeAnalysis.VisualBasic.Syntax.AggregationSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AggregationRangeVariableSyntax
Public Function WithAggregation (aggregation As AggregationSyntax) As AggregationRangeVariableSyntax

Parameters

aggregation
AggregationSyntax

Returns

Applies to