AggregateClauseSyntax.WithVariables 方法

定义

返回一个副本,其中 Variables 属性已更改为指定值。 如果指定的值与当前值相同,则返回此实例。

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

参数

返回

适用于