Table of Contents

Class ChangeStreamUpdateDescription

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Core.dll

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 BsonDocument

The 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 BsonDocument

The updated fields.

removedFields string[]

The removed fields.

truncatedArrays BsonArray

The 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

bool

GetHashCode()

public override int GetHashCode()

Returns

int