Udostępnij za pośrednictwem


SyntaxFactory.IdentifierLabel Method

Definition

Overloads

IdentifierLabel(SyntaxToken)

A label for a GoTo, Resume, or On Error statement. An identifier, line number, or next keyword.

IdentifierLabel(String)

A label for a GoTo, Resume, or On Error statement. An identifier, line number, or next keyword.

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

A label for a GoTo, Resume, or On Error statement. An identifier, line number, or next keyword.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::LabelSyntax ^ IdentifierLabel(Microsoft::CodeAnalysis::SyntaxToken labelToken);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelSyntax IdentifierLabel (Microsoft.CodeAnalysis.SyntaxToken labelToken);
static member IdentifierLabel : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelSyntax
Public Shared Function IdentifierLabel (labelToken As SyntaxToken) As LabelSyntax

Parameters

labelToken
SyntaxToken

The label name (identifier), line number (integer literal), or next keyword token.

Returns

Applies to

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

A label for a GoTo, Resume, or On Error statement. An identifier, line number, or next keyword.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::LabelSyntax ^ IdentifierLabel(System::String ^ labelToken);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelSyntax IdentifierLabel (string labelToken);
static member IdentifierLabel : string -> Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelSyntax
Public Shared Function IdentifierLabel (labelToken As String) As LabelSyntax

Parameters

labelToken
String

The label name (identifier), line number (integer literal), or next keyword token.

Returns

Applies to