Click or drag to resize

Collation Class

Represents a MongoDB collation.
Inheritance Hierarchy
SystemObject
  MongoDB.DriverCollation

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public sealed class Collation : IEquatable<Collation>, 
	IConvertibleToBsonDocument

The Collation type exposes the following members.

Constructors
  NameDescription
Public methodCollation
Initializes a new instance of the Collation class.
Top
Properties
  NameDescription
Public propertyAlternate
Gets whether spaces and punctuation are considered base characters.
Public propertyBackwards
Gets whether secondary differencs are to be considered in reverse order.
Public propertyCaseFirst
Gets whether upper case or lower case is ordered first.
Public propertyCaseLevel
Gets whether the collation is case sensitive at strength 1 and 2.
Public propertyLocale
Gets the locale.
Public propertyMaxVariable
Gets which characters are affected by the alternate: "Shifted".
Public propertyNormalization
Gets the normalization.
Public propertyNumericOrdering
Gets whether numbers are ordered numerically.
Public propertyStatic memberSimple
Gets the simple binary compare collation.
Public propertyStrength
Gets the strength.
Top
Methods
Extension Methods
  NameDescription
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
See Also