Table of Contents

Property HasValue

Namespace
MongoDB.Driver
Assembly
MongoDB.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.