Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Represents a string literal.
Inheritance Hierarchy
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.StringLiteral
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class StringLiteral _
Inherits Literal
'Usage
Dim instance As StringLiteral
[SerializableAttribute]
public class StringLiteral : Literal
[SerializableAttribute]
public ref class StringLiteral : public Literal
[<SerializableAttribute>]
type StringLiteral =
class
inherit Literal
end
public class StringLiteral extends Literal
The StringLiteral type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
StringLiteral | Initializes a new instance of the StringLiteral class. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
Collation | Gets or sets the collation identifier. (Inherited from PrimaryExpression.) |
![]() |
FirstTokenIndex | Gets or sets the first token index. (Inherited from TSqlFragment.) |
![]() |
FragmentLength | Gets the fragment length. (Inherited from TSqlFragment.) |
![]() |
IsLargeObject | Gets or sets a value that indicates whether the literal exceeds 8000 bytes. |
![]() |
IsNational | Gets or sets a value that indicates whether the string is Unicode. |
![]() |
LastTokenIndex | Gets or sets the last token index. (Inherited from TSqlFragment.) |
![]() |
LiteralType | Gets the type of the literal. (Overrides Literal.LiteralType.) |
![]() |
ScriptTokenStream | Gets or sets a list of token streams. (Inherited from TSqlFragment.) |
![]() |
StartColumn | Gets the starting column. (Inherited from TSqlFragment.) |
![]() |
StartLine | Gets the starting line. (Inherited from TSqlFragment.) |
![]() |
StartOffset | Gets the fragment start offset value. (Inherited from TSqlFragment.) |
![]() |
Value | Gets or sets the literal value. (Inherited from Literal.) |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Accept | Accepts visitor. (Overrides TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() |
AcceptChildren | Accepts visitor for Children. (Overrides Literal.AcceptChildren(TSqlFragmentVisitor).) |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)