_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

_XDocument2.IsRecovered

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);
}

See Also

Reference

_XDocument3 Interface

_XDocument3 Members

IsRecovered Overload

Microsoft.Office.Interop.InfoPath Namespace