SyntaxFactory.Ordering Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Ordering(SyntaxKind, ExpressionSyntax) |
An expression to order by, plus an optional ordering. The Kind indicates whether to order in ascending or descending order. |
Ordering(SyntaxKind, ExpressionSyntax, SyntaxToken) |
An expression to order by, plus an optional ordering. The Kind indicates whether to order in ascending or descending order. |
Ordering(SyntaxKind, ExpressionSyntax)
- 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
An expression to order by, plus an optional ordering. The Kind indicates whether to order in ascending or descending order.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::OrderingSyntax ^ Ordering(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.OrderingSyntax Ordering (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression);
static member Ordering : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OrderingSyntax
Public Shared Function Ordering (kind As SyntaxKind, expression As ExpressionSyntax) As OrderingSyntax
Parameters
- kind
- SyntaxKind
A SyntaxKind representing the specific kind of OrderingSyntax. One of AscendingOrdering, DescendingOrdering.
- expression
- ExpressionSyntax
The expression to sort by.
Returns
Applies to
Ordering(SyntaxKind, ExpressionSyntax, SyntaxToken)
- 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
An expression to order by, plus an optional ordering. The Kind indicates whether to order in ascending or descending order.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::OrderingSyntax ^ Ordering(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression, Microsoft::CodeAnalysis::SyntaxToken ascendingOrDescendingKeyword);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.OrderingSyntax Ordering (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.SyntaxToken ascendingOrDescendingKeyword);
static member Ordering : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OrderingSyntax
Public Shared Function Ordering (kind As SyntaxKind, expression As ExpressionSyntax, ascendingOrDescendingKeyword As SyntaxToken) As OrderingSyntax
Parameters
- kind
- SyntaxKind
A SyntaxKind representing the specific kind of OrderingSyntax. One of AscendingOrdering, DescendingOrdering.
- expression
- ExpressionSyntax
The expression to sort by.
- ascendingOrDescendingKeyword
- SyntaxToken
The "Ascending" or "Descending" keyword, if present. To determine whether to sort in ascending or descending order, checking the Kind property is easier.