SyntaxFactory.OnErrorGoToMinusOneStatement 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
OnErrorGoToMinusOneStatement(LabelSyntax) |
表示 OnError Goto 語句。 |
OnErrorGoToMinusOneStatement(SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken, LabelSyntax) |
表示 OnError Goto 語句。 |
OnErrorGoToMinusOneStatement(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
表示 OnError Goto 語句。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::OnErrorGoToStatementSyntax ^ OnErrorGoToMinusOneStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::LabelSyntax ^ label);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.OnErrorGoToStatementSyntax OnErrorGoToMinusOneStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelSyntax label);
static member OnErrorGoToMinusOneStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OnErrorGoToStatementSyntax
Public Shared Function OnErrorGoToMinusOneStatement (label As LabelSyntax) As OnErrorGoToStatementSyntax
參數
- label
- LabelSyntax
標籤名稱。 如果標籤是行號 0 或 -1,則會包裝代表行號的 IntegerLiteralToken,否則會包裝 Identifier。
傳回
適用於
OnErrorGoToMinusOneStatement(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
表示 OnError Goto 語句。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::OnErrorGoToStatementSyntax ^ OnErrorGoToMinusOneStatement(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 OnErrorGoToMinusOneStatement (Microsoft.CodeAnalysis.SyntaxToken onKeyword, Microsoft.CodeAnalysis.SyntaxToken errorKeyword, Microsoft.CodeAnalysis.SyntaxToken goToKeyword, Microsoft.CodeAnalysis.SyntaxToken minus, Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelSyntax label);
static member OnErrorGoToMinusOneStatement : 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 OnErrorGoToMinusOneStatement (onKeyword As SyntaxToken, errorKeyword As SyntaxToken, goToKeyword As SyntaxToken, minus As SyntaxToken, label As LabelSyntax) As OnErrorGoToStatementSyntax
參數
- onKeyword
- SyntaxToken
「On」 關鍵字
- errorKeyword
- SyntaxToken
「Error」 關鍵字。
- goToKeyword
- SyntaxToken
「GoTo」 關鍵字
- minus
- SyntaxToken
On Error Goto -1 的選擇性減號
- label
- LabelSyntax
標籤名稱。 如果標籤是行號 0 或 -1,則會包裝代表行號的 IntegerLiteralToken,否則會包裝 Identifier。