This attribute must only be applied to properties of string or DocumentReference.
This attribute is ignored when serializing a document to Firestore.
This attribute must not be applied on a property which also has FirestorePropertyAttribute.
[[["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\u003eFirestoreDocumentIdAttribute\u003c/code\u003e class within the Google Cloud Firestore API for .NET.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFirestoreDocumentIdAttribute\u003c/code\u003e is used to indicate that a property should be populated with the document ID from Firestore, and it can only be applied to string or \u003ccode\u003eDocumentReference\u003c/code\u003e properties.\u003c/p\u003e\n"],["\u003cp\u003eThe attribute is designed for deserialization from Firestore and is ignored when serializing a document to Firestore.\u003c/p\u003e\n"],["\u003cp\u003eThe document covers a range of versions for the Firestore API, from 2.3.1 to the latest 3.10.0, with links to documentation for each version, and the \u003ccode\u003eFirestoreDocumentIdAttribute\u003c/code\u003e is available from version 3.2.0 onwards.\u003c/p\u003e\n"],["\u003cp\u003eIt is important to note that the \u003ccode\u003eFirestoreDocumentIdAttribute\u003c/code\u003e cannot coexist with the \u003ccode\u003eFirestorePropertyAttribute\u003c/code\u003e on the same property.\u003c/p\u003e\n"]]],[],null,[]]