Partager via


Classe TSqlParserToken

Represents a parser token.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlParserToken

Espace de noms :  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly :  Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntaxe

'Déclaration
Public NotInheritable Class TSqlParserToken
'Utilisation
Dim instance As TSqlParserToken
public sealed class TSqlParserToken
public ref class TSqlParserToken sealed
[<SealedAttribute>]
type TSqlParserToken =  class end
public final class TSqlParserToken

Le type TSqlParserToken expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique TSqlParserToken() Initializes a new instance of the TSqlParserToken class.
Méthode publique TSqlParserToken(TSqlTokenType, String) Initializes a new instance of the TSqlParserToken class with the specified type and text of the token.
Méthode publique TSqlParserToken(TSqlTokenType, Int32, String, Int32, Int32) Initializes a new instance of the TSqlParserToken class with the specified type, offset, text, line and column of the token.

Haut de la page

Propriétés

  Nom Description
Propriété publique Column Gets or sets the column of the token.
Propriété publique Line Gets or sets the line of the token.
Propriété publique Offset Gets or sets the offset of the token.
Propriété publique Text Gets or sets the text of the token.
Propriété publique TokenType Gets or sets the value of the token type.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publique IsKeyword Determines the value that indicates whether the token is a language keyword.
Méthode publique ToString (hérité de Object.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.TransactSql.ScriptDom