Поделиться через


Класс CollationInfo

Provides information about a specific database collation.

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

System. . :: . .Object
  Microsoft.SqlServer.Management.SqlParser.Metadata..::..CollationInfo

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

Синтаксис

'Декларация
Public Class CollationInfo _
    Implements ICollation, IMetadataObject
'Применение
Dim instance As CollationInfo
public class CollationInfo : ICollation, 
    IMetadataObject
public ref class CollationInfo : ICollation, 
    IMetadataObject
type CollationInfo =  
    class
        interface ICollation
        interface IMetadataObject
    end
public class CollationInfo implements ICollation, IMetadataObject

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

Свойства

  Имя Описание
Открытое свойствоСтатический элемент Collations Gets a collection of supported collations.
Открытое свойство Comparer Gets an IComparer<(Of <(<'T>)>)> object that can be used to compare strings.
Открытое свойствоСтатический элемент Default Gets an instance of CollationInfo that represents the default collation. The default collation is 'SQL_Latin1_General_CP1_CI_AS'.
Открытое свойство EqualityComparer Gets an IEqualityComparer<(Of <(<'T>)>)> object that can be used to compare strings for equality.
Открытое свойство Name Gets the name of the collation.
Открытое свойствоСтатический элемент Ordinal Gets the CollationInfo object that internally performs case-sensitive ordinal string comparisons.
Открытое свойствоСтатический элемент OrdinalIgnoreCase Gets the CollationInfo object that internally performs case-insensitive ordinal string comparisons.

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый методСтатический элемент GetCollationInfo(String) Gets the CollationInfo object that has the specified name.
Открытый методСтатический элемент GetCollationInfo(ICollation) Gets the CollationInfo object for the specified ICollation object.
Открытый методСтатический элемент GetCollationInfo(Int32, CompareOptions) Gets the CollationInfo object for the specified culture identifier and comparison options.
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Открытый метод IsPrefix Determines whether the specified source string starts with the specified prefix.
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString Returns a string representation of the current object. (Переопределяет Object. . :: . .ToString() () () ().)

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытый метод IMetadataObject. . :: . .Accept< (Of < <' (T> ) > > ) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object.

В начало

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

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