Persisting data by implementing an extension using add-ins
How to use
See
How to use ArcGIS samples
for help on compiling, setting up the debugger, and running the sample.
If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders.
However, you will need to update the sample to point to the location of the data once you have extracted all the files.
Build the solution in Visual Studio.
Start ArcMap and load data.
Save the document.
Close ArcMap and reopen the saved document. A message box displays with the user name and the time when the document was saved.