SyntaxFactory.Ordering 方法

定义

重载

Ordering(SyntaxKind, ExpressionSyntax)

排序依据的表达式,以及可选的排序方式。 Kind 指示是按升序还是降序排序。

Ordering(SyntaxKind, ExpressionSyntax, SyntaxToken)

排序依据的表达式,以及可选的排序方式。 Kind 指示是按升序还是降序排序。

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
Source:
Syntax.xml.Main.Generated.vb

排序依据的表达式,以及可选的排序方式。 Kind 指示是按升序还是降序排序。

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

参数

kind
SyntaxKind

一个 SyntaxKind ,表示 OrderingSyntax 的特定类型。 AscendingOrdering 之一,DescendingOrdering。

expression
ExpressionSyntax

要排序依据的表达式。

返回

适用于

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
Source:
Syntax.xml.Main.Generated.vb

排序依据的表达式,以及可选的排序方式。 Kind 指示是按升序还是降序排序。

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

参数

kind
SyntaxKind

一个 SyntaxKind ,表示 OrderingSyntax 的特定类型。 AscendingOrdering 之一,DescendingOrdering。

expression
ExpressionSyntax

要排序依据的表达式。

ascendingOrDescendingKeyword
SyntaxToken

“升序”或“降序”关键字 (keyword) (如果存在)。 若要确定是按升序还是降序排序,检查 Kind 属性会更容易。

返回

适用于