共用方式為


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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。