ObjectAutoSaveEventArgs

EventArgsReferences
Event arguments for IDocumentObject autosave events.

Constructors

ObjectAutoSaveEventArgs

#
public ObjectAutoSaveEventArgs(IDocumentObject object, AutoSaveReason reason, Guid id)
Create a new instance of the IDocumentObject document event arguments.
object (IDocumentObject)Object that raised the event.
reason (AutoSaveReason)The document that used to own this object.
id (Guid)The document that now owns this object.

Properties

Id

#
public Guid Id { get; }
Gets the id for this autosave.

Object

#
public IDocumentObject Object { get; }
Gets the object that raised the event.

Reason

#
public AutoSaveReason Reason { get; }
Gets the reason for this autosave.

Result

#
public AutoSaveResult Result { get; }
Gets the result of this autosave request.

Methods

SetResult

#
public void SetResult(AutoSaveResult result)
Set the result of this autosave operation. The handler ought to assign this value.
result (AutoSaveResult)Result to assign.