public sealed class DocumentChange : IEquatable<DocumentChange>
A DocumentChange represents a change to the documents matching a query. It contains the document
affected and a the type of change that occurred (added, modifed, or removed).
The index of the changed document in the result set immediately after this DocumentChange
(i.e. supposing that all prior DocumentChange objects and this one have been applied),
null if the change type is Removed. The index will never be negative.
The index of the changed document in the result set immediately prior to this DocumentChange
(i.e. supposing that all prior DocumentChange objects have been applied), or null
if the change type is Added. The index will never be negative.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDocumentChange\u003c/code\u003e class represents a change to documents matching a query, including the affected document and the type of change (added, modified, or removed).\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eDocumentChange\u003c/code\u003e, is sealed, implementing \u003ccode\u003eIEquatable<DocumentChange>\u003c/code\u003e and inheriting from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eDocumentChange\u003c/code\u003e include \u003ccode\u003eChangeType\u003c/code\u003e, \u003ccode\u003eDocument\u003c/code\u003e, \u003ccode\u003eNewIndex\u003c/code\u003e and \u003ccode\u003eOldIndex\u003c/code\u003e, providing details about the type of change, the affected document, and its position in the result set before and after the change.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocumentChange\u003c/code\u003e class offers a \u003ccode\u003eGetHashCode()\u003c/code\u003e method, which overrides \u003ccode\u003eObject.GetHashCode()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this tool is \u003ccode\u003e3.10.0\u003c/code\u003e, and the document covers versions going all the way back to version \u003ccode\u003e2.3.1\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]