Creates an instance of an optional parameter with a value.
            
 
    Namespace: 
   MongoDB.Driver
    Assembly:
   MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntaxpublic static Optional<T> Create<T>(
	T value
)
Public Shared Function Create(Of T) ( 
	value As T
) As Optional(Of T)
static member Create : 
        value : 'T -> Optional<'T> 
Parameters
- value
 - Type: T
The value. 
Type Parameters
- T
 - The type of the optional parameter.
 
Return Value
Type: 
OptionalTAn instance of an optional parameter with a value.
Remarks
            This helper method can be used when the implicit conversion doesn't work (due to compiler limitations).
            
See Also