다음을 통해 공유


OrderingSyntax.WithAscendingOrDescendingKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the AscendingOrDescendingKeyword 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::OrderingSyntax ^ WithAscendingOrDescendingKeyword(Microsoft::CodeAnalysis::SyntaxToken ascendingOrDescendingKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.OrderingSyntax WithAscendingOrDescendingKeyword (Microsoft.CodeAnalysis.SyntaxToken ascendingOrDescendingKeyword);
member this.WithAscendingOrDescendingKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OrderingSyntax
Public Function WithAscendingOrDescendingKeyword (ascendingOrDescendingKeyword As SyntaxToken) As OrderingSyntax

Parameters

ascendingOrDescendingKeyword
SyntaxToken

Returns

Applies to