| CollationFeature Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: MongoDB.Driver.Core.Misc
 Syntax
SyntaxThe CollationFeature type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | CollationFeature | 
            Initializes a new instance of the CollationFeature class.
             | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | FirstSupportedVersion | 
            Gets the first server version that supports the feature.
            (Inherited from Feature.) | 
|  | LastNotSupportedVersion | 
            Gets the last server version that does not support the feature.
            (Inherited from Feature.) | 
|  | Name | 
            Gets the name of the feature.
            (Inherited from Feature.) | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Equals | (Inherited from Object.) | 
|  | Finalize | (Inherited from Object.) | 
|  | GetHashCode | (Inherited from Object.) | 
|  | GetType | (Inherited from Object.) | 
|  | IsSupported | 
            Determines whether a feature is supported by a version of the server.
            (Inherited from Feature.) | 
|  | MemberwiseClone | (Inherited from Object.) | 
|  | SupportedOrNotSupportedVersion | 
            Returns a version of the server where the feature is or is not supported.
            (Inherited from Feature.) | 
|  | ThrowIfNotSupported(SemanticVersion) | 
            Throws if the feature is not supported by a version of the server.
            (Inherited from Feature.) | 
|  | ThrowIfNotSupported(SemanticVersion, Collation) | 
            Throws if collation value is not null and collations are not supported.
             | 
|  | ToString | (Inherited from Object.) | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | ToBson | 
            Serializes an object to a BSON byte array.
            (Defined by BsonExtensionMethods.) | 
|  | ToBsonDocument | 
            Serializes an object to a BsonDocument.
            (Defined by BsonExtensionMethods.) | 
|  | ToJson | 
            Serializes an object to a JSON string.
            (Defined by BsonExtensionMethods.) | 
 See Also
See Also