Share via


SelectStatementSyntax.WithSelectKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the SelectKeyword 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::SelectStatementSyntax ^ WithSelectKeyword(Microsoft::CodeAnalysis::SyntaxToken selectKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectStatementSyntax WithSelectKeyword (Microsoft.CodeAnalysis.SyntaxToken selectKeyword);
member this.WithSelectKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectStatementSyntax
Public Function WithSelectKeyword (selectKeyword As SyntaxToken) As SelectStatementSyntax

Parameters

selectKeyword
SyntaxToken

Returns

Applies to