public sealed class QuerySnapshot : IReadOnlyList<DocumentSnapshot>, IReadOnlyCollection<DocumentSnapshot>, IEnumerable<DocumentSnapshot>, IEnumerable, IEquatable<QuerySnapshot>
Reference documentation and code samples for the Firestore API class QuerySnapshot.
[[["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\u003eThis document provides reference information for the \u003ccode\u003eQuerySnapshot\u003c/code\u003e class within the Google Cloud Firestore API, specifically version 3.6.0, in the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQuerySnapshot\u003c/code\u003e class is an immutable snapshot of the complete results of a query, implementing interfaces like \u003ccode\u003eIReadOnlyList\u003c/code\u003e, \u003ccode\u003eIReadOnlyCollection\u003c/code\u003e, and \u003ccode\u003eIEnumerable\u003c/code\u003e for \u003ccode\u003eDocumentSnapshot\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eQuerySnapshot\u003c/code\u003e include \u003ccode\u003eChanges\u003c/code\u003e (document modifications), \u003ccode\u003eCount\u003c/code\u003e (number of documents), \u003ccode\u003eDocuments\u003c/code\u003e (the list of document snapshots), \u003ccode\u003eQuery\u003c/code\u003e (the original query), and \u003ccode\u003eReadTime\u003c/code\u003e (snapshot read timestamp).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQuerySnapshot\u003c/code\u003e class also provides an indexer (\u003ccode\u003ethis[int index]\u003c/code\u003e) to access a specific \u003ccode\u003eDocumentSnapshot\u003c/code\u003e by its index, along with methods like \u003ccode\u003eGetEnumerator()\u003c/code\u003e and \u003ccode\u003eGetHashCode()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is version 3.10.0, and there is a complete list of other previous versions available to read, starting from version 2.3.1 to 3.9.0.\u003c/p\u003e\n"]]],[],null,[]]