[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"]],[["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 2025-08-07 UTC."],[[["\u003cp\u003eThe ServerTimestampAttribute in the Firestore API is used to automatically populate a property in a Firestore document with the server's timestamp when the document is created or modified.\u003c/p\u003e\n"],["\u003cp\u003eThis attribute is applied to properties within a .NET object, indicating that their values should be ignored during document creation or modification.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 3.10.0, with a list of versions back to 2.3.1 also included, allowing access to the documentation for various .NET library releases.\u003c/p\u003e\n"],["\u003cp\u003eThe ServerTimestampAttribute class inherits from the .NET \u003ccode\u003eAttribute\u003c/code\u003e class, giving it access to methods like \u003ccode\u003eGetCustomAttribute\u003c/code\u003e and \u003ccode\u003eIsDefined\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]