Partilhar via


AggregationRangeVariableSyntax.WithAggregation(AggregationSyntax) Método

Definição

Retorna uma cópia disso com a propriedade de agregação alterada para o valor especificado. Retorna essa instância se o valor especificado for o mesmo que o valor atual.

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

Parâmetros

aggregation
AggregationSyntax

Retornos

Aplica-se a