Partager via


OnErrorResumeNextStatementSyntax.WithResumeKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the ResumeKeyword 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::OnErrorResumeNextStatementSyntax ^ WithResumeKeyword(Microsoft::CodeAnalysis::SyntaxToken resumeKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.OnErrorResumeNextStatementSyntax WithResumeKeyword (Microsoft.CodeAnalysis.SyntaxToken resumeKeyword);
member this.WithResumeKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OnErrorResumeNextStatementSyntax
Public Function WithResumeKeyword (resumeKeyword As SyntaxToken) As OnErrorResumeNextStatementSyntax

Parameters

resumeKeyword
SyntaxToken

Returns

Applies to