CollationFeatureThrowIfNotSupported Method (SemanticVersion, Collation) |
Throws if collation value is not null and collations are not supported.
Namespace:
MongoDB.Driver.Core.Misc
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
Syntax public void ThrowIfNotSupported(
SemanticVersion serverVersion,
Collation value
)
Public Sub ThrowIfNotSupported (
serverVersion As SemanticVersion,
value As Collation
)
member ThrowIfNotSupported :
serverVersion : SemanticVersion *
value : Collation -> unit
Parameters
- serverVersion
- Type: MongoDB.Driver.Core.MiscSemanticVersion
The server version. - value
- Type: MongoDB.DriverCollation
The value.
See Also