OnErrorResumeNextStatementSyntax.Update Method

Definition

Returns a copy of this with the specified changes. Returns this instance if there are no actual changes.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::OnErrorResumeNextStatementSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken onKeyword, Microsoft::CodeAnalysis::SyntaxToken errorKeyword, Microsoft::CodeAnalysis::SyntaxToken resumeKeyword, Microsoft::CodeAnalysis::SyntaxToken nextKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.OnErrorResumeNextStatementSyntax Update (Microsoft.CodeAnalysis.SyntaxToken onKeyword, Microsoft.CodeAnalysis.SyntaxToken errorKeyword, Microsoft.CodeAnalysis.SyntaxToken resumeKeyword, Microsoft.CodeAnalysis.SyntaxToken nextKeyword);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OnErrorResumeNextStatementSyntax
Public Function Update (onKeyword As SyntaxToken, errorKeyword As SyntaxToken, resumeKeyword As SyntaxToken, nextKeyword As SyntaxToken) As OnErrorResumeNextStatementSyntax

Parameters

onKeyword
SyntaxToken

The value for the OnKeyword property.

errorKeyword
SyntaxToken

The value for the ErrorKeyword property.

resumeKeyword
SyntaxToken

The value for the ResumeKeyword property.

nextKeyword
SyntaxToken

The value for the NextKeyword property.

Returns

Applies to