Share via


QueryExpressionSyntax.WithClauses(SyntaxList<QueryClauseSyntax>) Method

Definition

Returns a copy of this with the Clauses 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::QueryExpressionSyntax ^ WithClauses(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::QueryClauseSyntax ^> clauses);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.QueryExpressionSyntax WithClauses (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.QueryClauseSyntax> clauses);
member this.WithClauses : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.QueryClauseSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.QueryExpressionSyntax
Public Function WithClauses (clauses As SyntaxList(Of QueryClauseSyntax)) As QueryExpressionSyntax

Parameters

Returns

Applies to