Click or drag to resize

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.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public void ThrowIfNotSupported(
	SemanticVersion serverVersion,
	Collation value
)

Parameters

serverVersion
Type: MongoDB.Driver.Core.MiscSemanticVersion
The server version.
value
Type: MongoDB.DriverCollation
The value.
See Also