Ordering between field paths is primarily to provide canonical orderings for sets of
paths, for example in a FieldMask. This ordering is performed segment-wise,
using ordinal string comparisons.
Constructors
FieldPath(params string[])
public FieldPath(params string[] segments)
Creates a path from multiple segments. Each segment is treated verbatim: it may contain dots, which will lead to the segment being escaped in the
path's string representation.
[[["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 documentation page covers the \u003ccode\u003eFieldPath\u003c/code\u003e class within the Google Cloud Firestore API for .NET, with version 3.10.0 being the most recent release, and provides reference material for versions going back as far as 2.3.1.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFieldPath\u003c/code\u003e class represents an immutable sequence of field names used to specify parts of a document within Firestore.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFieldPath\u003c/code\u003e implements \u003ccode\u003eIEquatable\u003c/code\u003e and \u003ccode\u003eIComparable\u003c/code\u003e for comparing field paths.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocumentId\u003c/code\u003e property is a static sentinel used in queries to filter or sort by the document's ID.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFieldPath\u003c/code\u003e class includes a constructor, along with \u003ccode\u003eCompareTo\u003c/code\u003e, \u003ccode\u003eGetHashCode\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e methods, and field paths are ordered primarily for providing canonical orderings.\u003c/p\u003e\n"]]],[],null,[]]