XmlForm.Recovered property

Gets a value that indicates whether a form was last saved by an AutoRecover save operation.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property Recovered As Boolean
    Get
'Usage
Dim instance As XmlForm
Dim value As Boolean

value = instance.Recovered
public abstract bool Recovered { get; }

Property value

Type: System.Boolean
true if the current form was last saved by an AutoRecover save operation; otherwise false.

Remarks

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.

Examples

public void FormEvents_Loading(object sender, LoadingEventArgs e)
{
   MessageBox.Show(("Last saved by an AutoRecover save operation: " 
      + this.Recovered);
}
Public Sub FormEvents_Loading(ByVal sender As Object, ByVal e As LoadingEventArgs)
   MessageBox.Show(("Last saved by an AutoRecover save operation: " _
      & Me.Recovered)
End Sub

See also

Reference

XmlForm class

XmlForm members

Microsoft.Office.InfoPath namespace