[AttributeUsage(AttributeTargets.Property)]public sealed class ServerTimestampAttribute:Attribute
Reference documentation and code samples for the Firestore API class ServerTimestampAttribute.
Attribute indicating that the value of the property within the .NET object should be ignored
when creating or modifying a document. Instead, the server time of the commit that creates
or modifies the document is automatically used to populate the value in the Firestore document.
[[["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-01 UTC."],[[["This document provides reference information for the `ServerTimestampAttribute` class within the Google Cloud Firestore API for .NET."],["The `ServerTimestampAttribute` is used to indicate that a property's value should be automatically populated with the server's timestamp when a document is created or modified in Firestore."],["The attribute can only be applied to properties and is part of the `Google.Cloud.Firestore` namespace within the `Google.Cloud.Firestore.dll` assembly."],["The document details the various versions of the `ServerTimestampAttribute` available, ranging from version 2.3.1 to the latest version, 3.10.0."],["The document also provides information about inherited members of the Attribute class, such as `GetCustomAttribute` and `IsDefined`."]]],[]]