ObjectAutoSaveEventArgs

EventArgsReferences
Event arguments for IDocumentObject autosave events.

Constructors

ObjectAutoSaveEventArgs

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

Properties

Id

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

Object

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

Reason

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

Result

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

Methods

SetResult

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