Share via


WhenClauseSyntax.WithWhenKeyword(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::WhenClauseSyntax ^ WithWhenKeyword(Microsoft::CodeAnalysis::SyntaxToken whenKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.WhenClauseSyntax WithWhenKeyword (Microsoft.CodeAnalysis.SyntaxToken whenKeyword);
member this.WithWhenKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.WhenClauseSyntax
Public Function WithWhenKeyword (whenKeyword As SyntaxToken) As WhenClauseSyntax

Parameters

whenKeyword
SyntaxToken

Returns

Applies to