[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Interface|AttributeTargets.Delegate)]public sealed class FirestoreDataAttribute:Attribute
Reference documentation and code samples for the Firestore API class FirestoreDataAttribute.
Attribute indicating that a type is intended to be used with Firestore.
[[["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\u003eThe \u003ccode\u003eFirestoreDataAttribute\u003c/code\u003e class is used to mark types intended for use with Firestore, indicating they should be serialized and deserialized by Firestore.\u003c/p\u003e\n"],["\u003cp\u003eThis attribute can be applied to classes, structs, enums, interfaces, and delegates.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the library that this documentation covers is version 3.10.0, while the current documentation focuses on version 3.7.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFirestoreDataAttribute\u003c/code\u003e provides properties to customize its behavior, such as \u003ccode\u003eConverterType\u003c/code\u003e for specifying a custom converter and \u003ccode\u003eUnknownPropertyHandling\u003c/code\u003e for managing unknown properties during serialization/deserialization.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits several methods and properties from the \u003ccode\u003eAttribute\u003c/code\u003e class, enabling operations like retrieving and inspecting custom attributes.\u003c/p\u003e\n"]]],[],null,[]]