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