Partilhar via


SelectClauseSyntax.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::SelectClauseSyntax ^ WithVariables(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionRangeVariableSyntax ^> variables);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectClauseSyntax WithVariables (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionRangeVariableSyntax> variables);
member this.WithVariables : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionRangeVariableSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectClauseSyntax
Public Function WithVariables (variables As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)) As SelectClauseSyntax

Parameters

Returns

Applies to