SyntaxFactory.LabelStatement 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
LabelStatement(SyntaxToken, SyntaxToken) |
表示 label 语句。 |
LabelStatement(SyntaxToken) |
表示 label 语句。 |
LabelStatement(String) |
表示 label 语句。 |
LabelStatement(SyntaxToken, SyntaxToken)
- 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
表示 label 语句。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::LabelStatementSyntax ^ LabelStatement(Microsoft::CodeAnalysis::SyntaxToken labelToken, Microsoft::CodeAnalysis::SyntaxToken colonToken);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelStatementSyntax LabelStatement (Microsoft.CodeAnalysis.SyntaxToken labelToken, Microsoft.CodeAnalysis.SyntaxToken colonToken);
static member LabelStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelStatementSyntax
Public Shared Function LabelStatement (labelToken As SyntaxToken, colonToken As SyntaxToken) As LabelStatementSyntax
参数
- labelToken
- SyntaxToken
标签的名称。 如果标签是行号,则返回作为行号的 IntegerLiteral,否则返回标识符。
- colonToken
- SyntaxToken
label 语句的“:”标记。
返回
适用于
LabelStatement(SyntaxToken)
- 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
表示 label 语句。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::LabelStatementSyntax ^ LabelStatement(Microsoft::CodeAnalysis::SyntaxToken labelToken);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelStatementSyntax LabelStatement (Microsoft.CodeAnalysis.SyntaxToken labelToken);
static member LabelStatement : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelStatementSyntax
Public Shared Function LabelStatement (labelToken As SyntaxToken) As LabelStatementSyntax
参数
- labelToken
- SyntaxToken
标签的名称。 如果标签是行号,则返回作为行号的 IntegerLiteral,否则返回标识符。
返回
适用于
LabelStatement(String)
- 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
表示 label 语句。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::LabelStatementSyntax ^ LabelStatement(System::String ^ labelToken);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelStatementSyntax LabelStatement (string labelToken);
static member LabelStatement : string -> Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelStatementSyntax
Public Shared Function LabelStatement (labelToken As String) As LabelStatementSyntax
参数
- labelToken
- String
标签的名称。 如果标签是行号,则返回作为行号的 IntegerLiteral,否则返回标识符。