Initializes a new instance of the
Feature class.
Namespace:
MongoDB.Driver.Core.Misc
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
Syntaxpublic 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