[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."],[[["The `ServerTimestampAttribute` class is used to mark a property in a .NET object to be ignored when creating or modifying a Firestore document."],["When a document is created or modified, the server's timestamp of the commit is automatically used to populate the property in the Firestore document, rather than the value from the .NET object."],["This attribute is applied to properties using the `[AttributeUsage(AttributeTargets.Property)]` attribute."],["The latest version of this api is 3.10.0, and prior versions all the way back to 2.3.1 are available."]]],[]]