OrderingSyntax.AscendingOrDescendingKeyword Property

Definition

The "Ascending" or "Descending" keyword, if present. To determine whether to sort in ascending or descending order, checking the Kind property is easier.

public:
 property Microsoft::CodeAnalysis::SyntaxToken AscendingOrDescendingKeyword { Microsoft::CodeAnalysis::SyntaxToken get(); };
public Microsoft.CodeAnalysis.SyntaxToken AscendingOrDescendingKeyword { get; }
member this.AscendingOrDescendingKeyword : Microsoft.CodeAnalysis.SyntaxToken
Public ReadOnly Property AscendingOrDescendingKeyword As SyntaxToken

Property Value

Remarks

This child is optional. If it is not present, then Nothing is returned.

Applies to