Share via


SyntaxFactory.GroupByClause Method

Definition

Overloads

GroupByClause(SeparatedSyntaxList<ExpressionRangeVariableSyntax>, SeparatedSyntaxList<AggregationRangeVariableSyntax>)

Represents the "Group By" query operator.

GroupByClause(SeparatedSyntaxList<ExpressionRangeVariableSyntax>, SeparatedSyntaxList<ExpressionRangeVariableSyntax>, SeparatedSyntaxList<AggregationRangeVariableSyntax>)

Represents the "Group By" query operator.

GroupByClause(SyntaxToken, SeparatedSyntaxList<ExpressionRangeVariableSyntax>, SyntaxToken, SeparatedSyntaxList<ExpressionRangeVariableSyntax>, SyntaxToken, SeparatedSyntaxList<AggregationRangeVariableSyntax>)

Represents the "Group By" query operator.

GroupByClause(SeparatedSyntaxList<ExpressionRangeVariableSyntax>, SeparatedSyntaxList<AggregationRangeVariableSyntax>)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Represents the "Group By" query operator.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::GroupByClauseSyntax ^ GroupByClause(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionRangeVariableSyntax ^> keys, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AggregationRangeVariableSyntax ^> aggregationVariables);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.GroupByClauseSyntax GroupByClause (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionRangeVariableSyntax> keys, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AggregationRangeVariableSyntax> aggregationVariables);
static member GroupByClause : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionRangeVariableSyntax> * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AggregationRangeVariableSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.GroupByClauseSyntax
Public Shared Function GroupByClause (keys As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax), aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As GroupByClauseSyntax

Parameters

keys
SeparatedSyntaxList<ExpressionRangeVariableSyntax>

The key values being used for grouping.

aggregationVariables
SeparatedSyntaxList<AggregationRangeVariableSyntax>

The list of new variables that calculate aggregations.

Returns

Applies to

GroupByClause(SeparatedSyntaxList<ExpressionRangeVariableSyntax>, SeparatedSyntaxList<ExpressionRangeVariableSyntax>, SeparatedSyntaxList<AggregationRangeVariableSyntax>)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Represents the "Group By" query operator.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::GroupByClauseSyntax ^ GroupByClause(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionRangeVariableSyntax ^> items, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionRangeVariableSyntax ^> keys, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AggregationRangeVariableSyntax ^> aggregationVariables);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.GroupByClauseSyntax GroupByClause (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionRangeVariableSyntax> items, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionRangeVariableSyntax> keys, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AggregationRangeVariableSyntax> aggregationVariables);
static member GroupByClause : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionRangeVariableSyntax> * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionRangeVariableSyntax> * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AggregationRangeVariableSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.GroupByClauseSyntax
Public Shared Function GroupByClause (items As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax), keys As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax), aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As GroupByClauseSyntax

Parameters

items
SeparatedSyntaxList<ExpressionRangeVariableSyntax>

The optional list of variables being grouped; the contents of the Group clause. If none were specified, an empty list is returned.

keys
SeparatedSyntaxList<ExpressionRangeVariableSyntax>

The key values being used for grouping.

aggregationVariables
SeparatedSyntaxList<AggregationRangeVariableSyntax>

The list of new variables that calculate aggregations.

Returns

Applies to

GroupByClause(SyntaxToken, SeparatedSyntaxList<ExpressionRangeVariableSyntax>, SyntaxToken, SeparatedSyntaxList<ExpressionRangeVariableSyntax>, SyntaxToken, SeparatedSyntaxList<AggregationRangeVariableSyntax>)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Represents the "Group By" query operator.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::GroupByClauseSyntax ^ GroupByClause(Microsoft::CodeAnalysis::SyntaxToken groupKeyword, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionRangeVariableSyntax ^> items, Microsoft::CodeAnalysis::SyntaxToken byKeyword, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionRangeVariableSyntax ^> keys, Microsoft::CodeAnalysis::SyntaxToken intoKeyword, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AggregationRangeVariableSyntax ^> aggregationVariables);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.GroupByClauseSyntax GroupByClause (Microsoft.CodeAnalysis.SyntaxToken groupKeyword, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionRangeVariableSyntax> items, Microsoft.CodeAnalysis.SyntaxToken byKeyword, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionRangeVariableSyntax> keys, Microsoft.CodeAnalysis.SyntaxToken intoKeyword, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AggregationRangeVariableSyntax> aggregationVariables);
static member GroupByClause : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionRangeVariableSyntax> * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionRangeVariableSyntax> * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AggregationRangeVariableSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.GroupByClauseSyntax
Public Shared Function GroupByClause (groupKeyword As SyntaxToken, items As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax), byKeyword As SyntaxToken, keys As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax), intoKeyword As SyntaxToken, aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As GroupByClauseSyntax

Parameters

groupKeyword
SyntaxToken

The "Group" keyword.

items
SeparatedSyntaxList<ExpressionRangeVariableSyntax>

The optional list of variables being grouped; the contents of the Group clause. If none were specified, an empty list is returned.

byKeyword
SyntaxToken

The "By" keyword.

keys
SeparatedSyntaxList<ExpressionRangeVariableSyntax>

The key values being used for grouping.

intoKeyword
SyntaxToken
aggregationVariables
SeparatedSyntaxList<AggregationRangeVariableSyntax>

The list of new variables that calculate aggregations.

Returns

Applies to