Share via


OrderByClauseSyntax.WithByKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the ByKeyword 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::OrderByClauseSyntax ^ WithByKeyword(Microsoft::CodeAnalysis::SyntaxToken byKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.OrderByClauseSyntax WithByKeyword (Microsoft.CodeAnalysis.SyntaxToken byKeyword);
member this.WithByKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OrderByClauseSyntax
Public Function WithByKeyword (byKeyword As SyntaxToken) As OrderByClauseSyntax

Parameters

byKeyword
SyntaxToken

Returns

Applies to