[[["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 2021-06-17 UTC."],[],[],null,["# Firebase.Firestore.FirestoreDataAttribute Class Reference\n\nFirebase.Firestore.FirestoreDataAttribute\n=========================================\n\nAttribute indicating that a type is intended to be used with [Firestore](/docs/reference/unity/namespace/firebase/firestore#namespace_firebase_1_1_firestore).\n\nSummary\n-------\n\n### Inheritance\n\nInherits from: Attribute\n\n| ### Constructors and Destructors ||\n|---|---|\n| [FirestoreDataAttribute](#class_firebase_1_1_firestore_1_1_firestore_data_attribute_1a301302b8726c7d6085243700e7de873e)`()` Constructs a new instance with default values for options. ||\n| [FirestoreDataAttribute](#class_firebase_1_1_firestore_1_1_firestore_data_attribute_1a91e0922afbd78f16a14d5c5049eda7ec)`(`[UnknownPropertyHandling](/docs/reference/unity/namespace/firebase/firestore#namespace_firebase_1_1_firestore_1a894811830fc00e909a8f0df0fa560e25)` unknownPropertyHandling)` Constructs a new instance with the given handling for unknown properties. ||\n\n| ### Properties ||\n|--------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ConverterType](#class_firebase_1_1_firestore_1_1_firestore_data_attribute_1a5dfb4f90735b93918cbff9590af20904) | `System.Type` A custom converter type to use for serializing and deserializing the attributed type. |\n| [UnknownPropertyHandling](#class_firebase_1_1_firestore_1_1_firestore_data_attribute_1a77536a9697dedcfc671762e492e54654) | [UnknownPropertyHandling](/docs/reference/unity/namespace/firebase/firestore#namespace_firebase_1_1_firestore_1a894811830fc00e909a8f0df0fa560e25) The strategy to use when handling unknown properties. |\n\nProperties\n----------\n\n### ConverterType\n\n```c#\nSystem.Type ConverterType\n``` \nA custom converter type to use for serializing and deserializing the attributed type. \n\n### UnknownPropertyHandling\n\n```c#\nUnknownPropertyHandling UnknownPropertyHandling\n``` \nThe strategy to use when handling unknown properties.\n\nThe default is UnknownPropertyHandling.Warn.\n\nPublic functions\n----------------\n\n### FirestoreDataAttribute\n\n```c#\n FirestoreDataAttribute()\n``` \nConstructs a new instance with default values for options. \n\n### FirestoreDataAttribute\n\n```c#\n FirestoreDataAttribute(\n UnknownPropertyHandling unknownPropertyHandling\n)\n``` \nConstructs a new instance with the given handling for unknown properties.\n\n\u003cbr /\u003e\n\n| Details ||\n|------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Parameters | |---------------------------|------------------------------------------------| | `unknownPropertyHandling` | The unknown property handling strategy to use. | |"]]