Condividi tramite


Costruttore TokenInfo (Int32, Int32, TokenType)

Inizializza una nuova istanza di TokenInfo classe sui valori specificati.

Spazio dei nomi:  Microsoft.VisualStudio.Package
Assembly:   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)

Sintassi

'Dichiarazione
Public Sub New ( _
    startIndex As Integer, _
    endIndex As Integer, _
    type As TokenType _
)
public TokenInfo(
    int startIndex,
    int endIndex,
    TokenType type
)

Parametri

  • startIndex
    Tipo: System.Int32
    [in] Il primo carattere del token.
  • endIndex
    Tipo: System.Int32
    [in] L'ultimo carattere del token.

Note

L'indice colore del token e tutti i trigger di devono essere specificati dopo che l'oggetto è stato creato.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

TokenInfo Classe

Overload TokenInfo

Spazio dei nomi Microsoft.VisualStudio.Package