Class ChangeStreamUpdateDescription
An UpdateDescription in a ChangeStreamDocument instance.
public sealed class ChangeStreamUpdateDescription
- Inheritance
-
ChangeStreamUpdateDescription
- Inherited Members
Constructors
ChangeStreamUpdateDescription(BsonDocument, string[])
Initializes a new instance of the ChangeStreamUpdateDescription class.
public ChangeStreamUpdateDescription(BsonDocument updatedFields, string[] removedFields)
Parameters
updatedFields
BsonDocumentThe updated fields.
removedFields
string[]The removed fields.
ChangeStreamUpdateDescription(BsonDocument, string[], BsonArray)
Initializes a new instance of the ChangeStreamUpdateDescription class.
public ChangeStreamUpdateDescription(BsonDocument updatedFields, string[] removedFields, BsonArray truncatedArrays)
Parameters
updatedFields
BsonDocumentThe updated fields.
removedFields
string[]The removed fields.
truncatedArrays
BsonArrayThe truncated arrays.
Properties
RemovedFields
Gets the removed fields.
public string[] RemovedFields { get; }
Property Value
- string[]
The removed fields.
TruncatedArrays
Gets the truncated arrays.
public BsonArray TruncatedArrays { get; }
Property Value
- BsonArray
The truncated arrays.
UpdatedFields
Gets the updated fields.
public BsonDocument UpdatedFields { get; }
Property Value
- BsonDocument
The updated fields.
Methods
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()