public sealed class StructuredQuery.Types.FieldReference : IMessage<StructuredQuery.Types.FieldReference>, IEquatable<StructuredQuery.Types.FieldReference>, IDeepCloneable<StructuredQuery.Types.FieldReference>, IBufferMessage, IMessage
Reference documentation and code samples for the Firestore v1 API class StructuredQuery.Types.FieldReference.
A reference to a field in a document, ex: stats.operations.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eStructuredQuery.Types.FieldReference\u003c/code\u003e class in the Firestore v1 API is 3.10.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class represents a reference to a field within a Firestore document, such as \u003ccode\u003estats.operations\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt 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, offering functionalities for message handling, equality comparison, deep cloning, and buffered messaging.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFieldReference\u003c/code\u003e class has a constructor that takes another \u003ccode\u003eFieldReference\u003c/code\u003e object for creating a copy.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFieldPath\u003c/code\u003e property, a string, specifies the dot-delimited path to a field in the document.\u003c/p\u003e\n"]]],[],null,["# Firestore v1 API - Class StructuredQuery.Types.FieldReference (3.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.10.0 (latest)](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.StructuredQuery.Types.FieldReference)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.9.0/Google.Cloud.Firestore.V1.StructuredQuery.Types.FieldReference)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.8.0/Google.Cloud.Firestore.V1.StructuredQuery.Types.FieldReference)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.7.0/Google.Cloud.Firestore.V1.StructuredQuery.Types.FieldReference)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.6.0/Google.Cloud.Firestore.V1.StructuredQuery.Types.FieldReference)\n- [3.5.1](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.5.1/Google.Cloud.Firestore.V1.StructuredQuery.Types.FieldReference)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.4.0/Google.Cloud.Firestore.V1.StructuredQuery.Types.FieldReference)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.3.0/Google.Cloud.Firestore.V1.StructuredQuery.Types.FieldReference)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.2.0/Google.Cloud.Firestore.V1.StructuredQuery.Types.FieldReference)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.1.0/Google.Cloud.Firestore.V1.StructuredQuery.Types.FieldReference)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.0.0/Google.Cloud.Firestore.V1.StructuredQuery.Types.FieldReference)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/2.5.0/Google.Cloud.Firestore.V1.StructuredQuery.Types.FieldReference)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/2.4.0/Google.Cloud.Firestore.V1.StructuredQuery.Types.FieldReference)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/2.3.0/Google.Cloud.Firestore.V1.StructuredQuery.Types.FieldReference) \n\n public sealed class StructuredQuery.Types.FieldReference : IMessage\u003cStructuredQuery.Types.FieldReference\u003e, IEquatable\u003cStructuredQuery.Types.FieldReference\u003e, IDeepCloneable\u003cStructuredQuery.Types.FieldReference\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Firestore v1 API class StructuredQuery.Types.FieldReference.\n\nA reference to a field in a document, ex: `stats.operations`. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e StructuredQuery.Types.FieldReference \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[StructuredQuery](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.StructuredQuery)[Types](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.StructuredQuery.Types)[FieldReference](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.StructuredQuery.Types.FieldReference), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[StructuredQuery](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.StructuredQuery)[Types](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.StructuredQuery.Types)[FieldReference](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.StructuredQuery.Types.FieldReference), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[StructuredQuery](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.StructuredQuery)[Types](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.StructuredQuery.Types)[FieldReference](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.StructuredQuery.Types.FieldReference), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Firestore.V1](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Firestore.V1.dll\n\nConstructors\n------------\n\n### FieldReference()\n\n public FieldReference()\n\n### FieldReference(FieldReference)\n\n public FieldReference(StructuredQuery.Types.FieldReference other)\n\nProperties\n----------\n\n### FieldPath\n\n public string FieldPath { get; set; }\n\nA reference to a field in a document.\n\nRequires:\n\n- MUST be a dot-delimited (`.`) string of segments, where each segment conforms to \\[document field name\\]\\[google.firestore.v1.Document.fields\\] limitations."]]