CatchFilterClauseSyntax.WithWhenKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the WhenKeyword 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::CatchFilterClauseSyntax ^ WithWhenKeyword(Microsoft::CodeAnalysis::SyntaxToken whenKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchFilterClauseSyntax WithWhenKeyword (Microsoft.CodeAnalysis.SyntaxToken whenKeyword);
member this.WithWhenKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchFilterClauseSyntax
Public Function WithWhenKeyword (whenKeyword As SyntaxToken) As CatchFilterClauseSyntax

Parameters

whenKeyword
SyntaxToken

Returns

Applies to