Property HasValue

| MongoDB CSharp Driver API Reference (original) (raw)

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.