public sealed class StructuredQuery.Types.Order : IMessage<StructuredQuery.Types.Order>, IEquatable<StructuredQuery.Types.Order>, IDeepCloneable<StructuredQuery.Types.Order>, IBufferMessage, IMessage
Reference documentation and code samples for the Firestore v1 API class StructuredQuery.Types.Order.
[[["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 webpage provides reference documentation for the \u003ccode\u003eStructuredQuery.Types.Order\u003c/code\u003e class within the Firestore v1 API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStructuredQuery.Types.Order\u003c/code\u003e class allows defining the order on a field when querying, and it implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt is shown that the \u003ccode\u003eStructuredQuery.Types.Order\u003c/code\u003e class is available from version 2.3.0 up to version 3.10.0 (latest) of the Google.Cloud.Firestore.V1 package, with version 3.4.0 being the main one used for the documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default \u003ccode\u003eOrder()\u003c/code\u003e constructor and an \u003ccode\u003eOrder(StructuredQuery.Types.Order other)\u003c/code\u003e constructor for copying.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eStructuredQuery.Types.Order\u003c/code\u003e class include \u003ccode\u003eDirection\u003c/code\u003e, which specifies the order direction, defaulting to \u003ccode\u003eASCENDING\u003c/code\u003e, and \u003ccode\u003eField\u003c/code\u003e, which defines the field to order by.\u003c/p\u003e\n"]]],[],null,[]]