共用方式為


LabelStatementSyntax.LabelToken Property

Definition

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

public:
 property Microsoft::CodeAnalysis::SyntaxToken LabelToken { Microsoft::CodeAnalysis::SyntaxToken get(); };
public Microsoft.CodeAnalysis.SyntaxToken LabelToken { get; }
member this.LabelToken : Microsoft.CodeAnalysis.SyntaxToken
Public ReadOnly Property LabelToken As SyntaxToken

Property Value

Applies to