Optional Class

Represents helper methods for use with the OptionalT struct.
Inheritance Hierarchy
SystemObject
  MongoDB.DriverOptional

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
Syntax
public static class Optional

The Optional type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCreateT
Creates an instance of an optional parameter with a value.
Public methodStatic memberEnumerableTItem
Creates an instance of an optional parameter with an enumerable value.
Top
See Also

Reference