_XDocument3.IsRecovered property
Gets a value that indicates whether a Microsoft Office InfoPath form was last saved by an AutoRecover save operation.
Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)
Syntax
'Declaration
ReadOnly Property IsRecovered As Boolean
Get
'Usage
Dim instance As _XDocument3
Dim value As Boolean
value = instance.IsRecovered
bool IsRecovered { get; }
Property value
Type: System.Boolean
true if the form was last saved by an AutoRecover save operation; otherwise false.
Implements
Examples
The following example shows how to use the IsRecovered property to indicate, when the form is opened, whether the form was last saved by an AutoRecover save operation:
public void OnLoad(DocReturnEvent e)
{
thisXDocument.UI.Alert("Last saved by an AutoRecover save operation: " + thisXDocument.IsRecovered);
}