Initializes a new instance of the
Feature class.
Namespace:
MongoDB.Driver.Core.Misc
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax public Feature(
string name,
SemanticVersion firstSupportedVersion,
SemanticVersion supportRemovedVersion = null
)
Public Sub New (
name As String,
firstSupportedVersion As SemanticVersion,
Optional supportRemovedVersion As SemanticVersion = Nothing
)
new :
name : string *
firstSupportedVersion : SemanticVersion *
?supportRemovedVersion : SemanticVersion
(* Defaults:
let _supportRemovedVersion = defaultArg supportRemovedVersion null
*)
-> Feature
Parameters
- name
- Type: SystemString
The name of the feature. - firstSupportedVersion
- Type: MongoDB.Driver.Core.MiscSemanticVersion
The first server version that supports the feature. - supportRemovedVersion (Optional)
- Type: MongoDB.Driver.Core.MiscSemanticVersion
The server version that stops support the feature.
See Also