Класс Literal

Represents a literal.

Иерархия наследования

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.ScalarExpression
      Microsoft.SqlServer.TransactSql.ScriptDom.PrimaryExpression
        Microsoft.SqlServer.TransactSql.ScriptDom.ValueExpression
          Microsoft.SqlServer.TransactSql.ScriptDom.Literal
            Подробнее...

Пространство имен:  Microsoft.SqlServer.TransactSql.ScriptDom
Сборка:  Microsoft.SqlServer.TransactSql.ScriptDom (в Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
Public MustInherit Class Literal _
    Inherits ValueExpression
'Применение
Dim instance As Literal
[SerializableAttribute]
public abstract class Literal : ValueExpression
[SerializableAttribute]
public ref class Literal abstract : public ValueExpression
[<AbstractClassAttribute>]
[<SerializableAttribute>]
type Literal =  
    class 
        inherit ValueExpression 
    end
public abstract class Literal extends ValueExpression

Тип Literal обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Защищенный метод Literal Initializes a new instance of the Literal class.

В начало

Свойства

  Имя Описание
Открытое свойство Collation Gets or sets the collation identifier. (Производный от PrimaryExpression.)
Открытое свойство FirstTokenIndex Gets or sets the first token index. (Производный от TSqlFragment.)
Открытое свойство FragmentLength Gets the fragment length. (Производный от TSqlFragment.)
Открытое свойство LastTokenIndex Gets or sets the last token index. (Производный от TSqlFragment.)
Открытое свойство LiteralType Gets or sets the literal type.
Открытое свойство ScriptTokenStream Gets or sets a list of token streams. (Производный от TSqlFragment.)
Открытое свойство StartColumn Gets the starting column. (Производный от TSqlFragment.)
Открытое свойство StartLine Gets the starting line. (Производный от TSqlFragment.)
Открытое свойство StartOffset Gets the fragment start offset value. (Производный от TSqlFragment.)
Открытое свойство Value Gets or sets the literal value.

В начало

Методы

  Имя Описание
Открытый метод Accept Indicates the entry point for a given visitor. (Производный от TSqlFragment.)
Открытый метод AcceptChildren Accepts a visit for the Children from the specified visitor. (Переопределяет ValueExpression.AcceptChildren(TSqlFragmentVisitor).)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.TransactSql.ScriptDom

Иерархия наследования

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.ScalarExpression
      Microsoft.SqlServer.TransactSql.ScriptDom.PrimaryExpression
        Microsoft.SqlServer.TransactSql.ScriptDom.ValueExpression
          Microsoft.SqlServer.TransactSql.ScriptDom.Literal
            Microsoft.SqlServer.TransactSql.ScriptDom.BinaryLiteral
            Microsoft.SqlServer.TransactSql.ScriptDom.DefaultLiteral
            Microsoft.SqlServer.TransactSql.ScriptDom.IdentifierLiteral
            Microsoft.SqlServer.TransactSql.ScriptDom.IntegerLiteral
            Microsoft.SqlServer.TransactSql.ScriptDom.MaxLiteral
            Microsoft.SqlServer.TransactSql.ScriptDom.MoneyLiteral
            Microsoft.SqlServer.TransactSql.ScriptDom.NullLiteral
            Microsoft.SqlServer.TransactSql.ScriptDom.NumericLiteral
            Microsoft.SqlServer.TransactSql.ScriptDom.OdbcLiteral
            Microsoft.SqlServer.TransactSql.ScriptDom.RealLiteral
            Microsoft.SqlServer.TransactSql.ScriptDom.StringLiteral