Udostępnij za pośrednictwem


SyntaxFactory.LabelStatement Method

Definition

Overloads

LabelStatement(SyntaxToken, SyntaxToken)

Represents a label statement.

LabelStatement(SyntaxToken)

Represents a label statement.

LabelStatement(String)

Represents a label statement.

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

Represents a label statement.

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

Parameters

labelToken
SyntaxToken

The name of the label. If the label is a line number, returns an IntegerLiteral that is the line number, otherwise, returns an Identifier.

colonToken
SyntaxToken

The ":" token of the label statement.

Returns

Applies to

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

Represents a label statement.

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

Parameters

labelToken
SyntaxToken

The name of the label. If the label is a line number, returns an IntegerLiteral that is the line number, otherwise, returns an Identifier.

Returns

Applies to

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

Represents a label statement.

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

Parameters

labelToken
String

The name of the label. If the label is a line number, returns an IntegerLiteral that is the line number, otherwise, returns an Identifier.

Returns

Applies to