[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 the Firestore API, applicable to classes, structs, enums, interfaces, and delegates.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation covers versions of the \u003ccode\u003eFirestoreDataAttribute\u003c/code\u003e ranging from 2.3.1 to 3.10.0, with 3.10.0 being the latest release.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFirestoreDataAttribute\u003c/code\u003e inherits from the .NET \u003ccode\u003eAttribute\u003c/code\u003e class and includes methods for getting custom attributes and determining if attributes are defined.\u003c/p\u003e\n"],["\u003cp\u003eIt allows specifying custom converter types via the \u003ccode\u003eConverterType\u003c/code\u003e property and defining behavior for unknown properties using the \u003ccode\u003eUnknownPropertyHandling\u003c/code\u003e property, which defaults to \u003ccode\u003eWarn\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes details on the constructors of the class, either no arguments or with \u003ccode\u003eUnknownPropertyHandling\u003c/code\u003e to decide how to handle unknown properties.\u003c/p\u003e\n"]]],[],null,[]]