Partager via


SyntaxFactory.OnErrorGoToStatement Méthode

Définition

Surcharges

OnErrorGoToStatement(SyntaxKind, LabelSyntax)

Représente une instruction OnError Goto.

OnErrorGoToStatement(SyntaxKind, SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken, LabelSyntax)

Représente une instruction OnError Goto.

OnErrorGoToStatement(SyntaxKind, LabelSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Représente une instruction OnError Goto.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::OnErrorGoToStatementSyntax ^ OnErrorGoToStatement(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::VisualBasic::Syntax::LabelSyntax ^ label);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.OnErrorGoToStatementSyntax OnErrorGoToStatement (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelSyntax label);
static member OnErrorGoToStatement : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OnErrorGoToStatementSyntax
Public Shared Function OnErrorGoToStatement (kind As SyntaxKind, label As LabelSyntax) As OnErrorGoToStatementSyntax

Paramètres

kind
SyntaxKind

SyntaxKind représentant le type spécifique de OnErrorGoToStatementSyntax. One of OnErrorGoToZeroStatement, OnErrorGoToMinusOneStatement, OnErrorGoToLabelStatement.

label
LabelSyntax

Nom de l'étiquette. Si l’étiquette est un numéro de ligne, 0 ou -1, encapsule un IntegerLiteralToken qui est le numéro de ligne, sinon, encapsule un identificateur.

Retours

S’applique à

OnErrorGoToStatement(SyntaxKind, SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken, LabelSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Représente une instruction OnError Goto.

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

Paramètres

kind
SyntaxKind

SyntaxKind représentant le type spécifique de OnErrorGoToStatementSyntax. One of OnErrorGoToZeroStatement, OnErrorGoToMinusOneStatement, OnErrorGoToLabelStatement.

onKeyword
SyntaxToken

Le mot clé « On »

errorKeyword
SyntaxToken

Mot clé « Erreur ».

goToKeyword
SyntaxToken

Le mot clé « GoTo »

minus
SyntaxToken

Un moins facultatif pour On Error Goto -1

label
LabelSyntax

Nom de l'étiquette. Si l’étiquette est un numéro de ligne, 0 ou -1, encapsule un IntegerLiteralToken qui est le numéro de ligne, sinon, encapsule un identificateur.

Retours

S’applique à