[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"]],[["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."],[[["The `FirestoreDataAttribute` class is used to mark types intended for use with the Firestore API, applicable to classes, structs, enums, interfaces, and delegates."],["This documentation covers versions of the `FirestoreDataAttribute` ranging from 2.3.1 to 3.10.0, with 3.10.0 being the latest release."],["`FirestoreDataAttribute` inherits from the .NET `Attribute` class and includes methods for getting custom attributes and determining if attributes are defined."],["It allows specifying custom converter types via the `ConverterType` property and defining behavior for unknown properties using the `UnknownPropertyHandling` property, which defaults to `Warn`."],["The documentation includes details on the constructors of the class, either no arguments or with `UnknownPropertyHandling` to decide how to handle unknown properties."]]],[]]