次の方法で共有


OnErrorGoToStatementSyntax.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::OnErrorGoToStatementSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken onKeyword, Microsoft::CodeAnalysis::SyntaxToken errorKeyword, Microsoft::CodeAnalysis::SyntaxToken goToKeyword, Microsoft::CodeAnalysis::SyntaxToken minus, Microsoft::CodeAnalysis::VisualBasic::Syntax::LabelSyntax ^ label);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.OnErrorGoToStatementSyntax Update (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken onKeyword, Microsoft.CodeAnalysis.SyntaxToken errorKeyword, Microsoft.CodeAnalysis.SyntaxToken goToKeyword, Microsoft.CodeAnalysis.SyntaxToken minus, Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelSyntax label);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OnErrorGoToStatementSyntax
Public Function Update (kind As SyntaxKind, onKeyword As SyntaxToken, errorKeyword As SyntaxToken, goToKeyword As SyntaxToken, minus As SyntaxToken, label As LabelSyntax) As OnErrorGoToStatementSyntax

Parameters

kind
SyntaxKind

The new kind.

onKeyword
SyntaxToken

The value for the OnKeyword property.

errorKeyword
SyntaxToken

The value for the ErrorKeyword property.

goToKeyword
SyntaxToken

The value for the GoToKeyword property.

minus
SyntaxToken

The value for the Minus property.

label
LabelSyntax

The value for the Label property.

Returns

Applies to