Share via


EndBlockStatementSyntax.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::EndBlockStatementSyntax ^ WithBlockKeyword(Microsoft::CodeAnalysis::SyntaxToken blockKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax WithBlockKeyword (Microsoft.CodeAnalysis.SyntaxToken blockKeyword);
member this.WithBlockKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax
Public Function WithBlockKeyword (blockKeyword As SyntaxToken) As EndBlockStatementSyntax

Parameters

blockKeyword
SyntaxToken

Returns

Applies to