共用方式為


SyntaxFactory.GoToStatement 方法

定義

多載

GoToStatement(LabelSyntax)

表示 「GoTo」 語句。

GoToStatement(SyntaxToken, LabelSyntax)

表示 「GoTo」 語句。

GoToStatement(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

表示 「GoTo」 語句。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::GoToStatementSyntax ^ GoToStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::LabelSyntax ^ label);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.GoToStatementSyntax GoToStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelSyntax label);
static member GoToStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.GoToStatementSyntax
Public Shared Function GoToStatement (label As LabelSyntax) As GoToStatementSyntax

參數

label
LabelSyntax

標籤名稱。 如果標籤是行號,則會包裝代表行號的 IntegerLiteral,否則會包裝 Identifier。

傳回

適用於

GoToStatement(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

表示 「GoTo」 語句。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::GoToStatementSyntax ^ GoToStatement(Microsoft::CodeAnalysis::SyntaxToken goToKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::LabelSyntax ^ label);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.GoToStatementSyntax GoToStatement (Microsoft.CodeAnalysis.SyntaxToken goToKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelSyntax label);
static member GoToStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.GoToStatementSyntax
Public Shared Function GoToStatement (goToKeyword As SyntaxToken, label As LabelSyntax) As GoToStatementSyntax

參數

goToKeyword
SyntaxToken

「GoTo」 關鍵字。

label
LabelSyntax

標籤名稱。 如果標籤是行號,則會包裝代表行號的 IntegerLiteral,否則會包裝 Identifier。

傳回

適用於