다음을 통해 공유


TokenInfo.Token Property

Determines the token ID as represented by the TokenInfo object.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

‘선언
Public Property Token As Integer
public int Token { get; set; }

Property Value

Type: System.Int32
Returns an integer specifying the token ID.

Remarks

The token ID represents a particular language token and is specific to the scanner or parser used. This could be used, for example, to quickly find a specific token in a parse tree if more information about that token is needed than can be represented in the TokenInfo class.

The managed package framework language service classes do not use this property.

.NET Framework Security

See Also

Reference

TokenInfo Class

Microsoft.VisualStudio.Package Namespace