Property HasValue NamespaceMongoDB.Driver AssemblyMongoDB.Driver.dll HasValue Gets a value indicating whether the optional parameter has a value. public bool HasValue { get; } Property Value bool true if the optional parameter has a value; otherwise, false.