Share via


ExitStatementSyntax.WithBlockKeyword(SyntaxToken) Method

Definition

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

Parameters

blockKeyword
SyntaxToken

Returns

Applies to