Click or drag to resize
ReplaceOneResult Properties

The ReplaceOneResult type exposes the following members.

Properties
  NameDescription
Public propertyIsAcknowledged
Gets a value indicating whether the result is acknowleded.
Public propertyIsModifiedCountAvailable
Gets a value indicating whether the modified count is available.
Public propertyMatchedCount
Gets the matched count. If IsAcknowledged is false, this will throw an exception.
Public propertyModifiedCount
Gets the modified count. If IsAcknowledged is false, this will throw an exception.
Public propertyUpsertedId
Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception.
Top
See Also