OrderByClauseSyntax.WithOrderings 方法

定义

返回一个副本,其中 Orderings 属性已更改为指定值。 如果指定的值与当前值相同,则返回此实例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::OrderByClauseSyntax ^ WithOrderings(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::OrderingSyntax ^> orderings);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.OrderByClauseSyntax WithOrderings (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.OrderingSyntax> orderings);
member this.WithOrderings : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.OrderingSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OrderByClauseSyntax
Public Function WithOrderings (orderings As SeparatedSyntaxList(Of OrderingSyntax)) As OrderByClauseSyntax

参数

返回

适用于