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.

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。