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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。