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"]],[["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-04-17 UTC."],[[["This webpage provides reference documentation for the `FirestoreDocumentIdAttribute` class within the Google Cloud Firestore API for .NET."],["`FirestoreDocumentIdAttribute` 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 `DocumentReference` properties."],["The attribute is designed for deserialization from Firestore and is ignored when serializing a document to Firestore."],["The 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 `FirestoreDocumentIdAttribute` is available from version 3.2.0 onwards."],["It is important to note that the `FirestoreDocumentIdAttribute` cannot coexist with the `FirestorePropertyAttribute` on the same property."]]],[]]