Share via


ExitStatementSyntax.WithExitKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the ExitKeyword 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::ExitStatementSyntax ^ WithExitKeyword(Microsoft::CodeAnalysis::SyntaxToken exitKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ExitStatementSyntax WithExitKeyword (Microsoft.CodeAnalysis.SyntaxToken exitKeyword);
member this.WithExitKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ExitStatementSyntax
Public Function WithExitKeyword (exitKeyword As SyntaxToken) As ExitStatementSyntax

Parameters

exitKeyword
SyntaxToken

Returns

Applies to