[ Web Proxy ]
URL:
Viewing: https://firebase.google.com/docs/reference/unity/class/firebase/firestore/firestore-data-attribute [Back]  [Original]

Firebase.Firestore.FirestoreDataAttribute Class Reference Skip to main content
Overview Fundamentals AI Build Run Reference Samples
Firebase [Firebase]
Send feedback Stay organized with collections Save and categorize content based on your preferences.

Firebase.Firestore.FirestoreDataAttribute

Attribute indicating that a type is intended to be used with Firestore.

Summary

Inheritance

Inherits from: Attribute

Constructors and Destructors

FirestoreDataAttribute()
Constructs a new instance with default values for options.
FirestoreDataAttribute(UnknownPropertyHandling unknownPropertyHandling)
Constructs a new instance with the given handling for unknown properties.

Properties

ConverterType
System.Type
A custom converter type to use for serializing and deserializing the attributed type.
UnknownPropertyHandling
The strategy to use when handling unknown properties.

Properties

ConverterType

System.Type ConverterType

A custom converter type to use for serializing and deserializing the attributed type.

UnknownPropertyHandling

UnknownPropertyHandling UnknownPropertyHandling

The strategy to use when handling unknown properties.

The default is UnknownPropertyHandling.Warn.

Public functions

FirestoreDataAttribute

 FirestoreDataAttribute()

Constructs a new instance with default values for options.

FirestoreDataAttribute

 FirestoreDataAttribute(
  UnknownPropertyHandling unknownPropertyHandling
)

Constructs a new instance with the given handling for unknown properties.

Details
Parameters
unknownPropertyHandling
The unknown property handling strategy to use.

Send feedback

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2021-06-17 UTC.

Need to tell us more? [[["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."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page