Share via


ModelCollation Class

Defines the type of model collations. This is a string identifying the alphabet or language whose sorting rules are applied when dictionary sorting is specified.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.SchemaModel.ModelCollation

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class ModelCollation _
    Implements ISerializable
[SerializableAttribute]
public class ModelCollation : ISerializable
[SerializableAttribute]
public ref class ModelCollation : ISerializable
[<SerializableAttribute>]
type ModelCollation =  
    class
        interface ISerializable
    end
public class ModelCollation implements ISerializable

The ModelCollation type exposes the following members.

Constructors

  Name Description
Public method ModelCollation(Int32, Boolean)
Protected method ModelCollation(SerializationInfo, StreamingContext)

Top

Properties

  Name Description
Public property CaseSensitive
Public propertyStatic member DefaultCollationCaseInsensitive
Public propertyStatic member DefaultCollationCaseSensitive
Public property Lcid
Public propertyStatic member SupportedCollationStringToLcid
Public propertyStatic member SupportedLcidToCollationStringsMap

Top

Methods

  Name Description
Public method Equals (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic member GetCollationLcidCaseSensitive
Public methodStatic member GetCollationString
Public method GetHashCode (Overrides Object.GetHashCode().)
Public method GetObjectData
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

'CI' indicates case-insensitive. 'CS' indicates case-sensitive. 'AI' indicates accent-insensitive. 'AS' indicates accent-sensitive.

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.

See Also

Reference

Microsoft.Data.Schema.SchemaModel Namespace