Share via


XmlFormOpenMode Enumeration (Microsoft.Office.InfoPath)

Specifies how a form will be opened.

Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration XmlFormOpenMode
'Usage
Dim instance As XmlFormOpenMode
[FlagsAttribute] 
public enum XmlFormOpenMode

Members

  Member name Description
Default The form is created or opened if its version number matches or is older than the version number of the form template. If the version number of the form is older than the form template, an update will occur. 
FailOnVersionMismatch The form is created or opened only if it is accessible and its version number matches the version number of the form template. 
FailOnVersionOlder The form is created or opened if its version number matches or is older than the version number of the form template. If the version number of the form is older than the form template, an update will occur. 
IgnoreDataConnectionsFailure The form is opened even if the query associated with its data connection fails to return data. 
PromptIfSigned The form is opened and the Digital Signatures dialog box is displayed before the form's transform is applied. This only occurs when the version number of the form is older than the version number of the form template. 
ReadOnly The form is opened in read-only mode. 
TransformEvenIfSigned The form is opened and its transform applied, even though it has a digital signature. 
UseExistingVersion The form is created or opened using the existing version number of the form template. 

Remarks

These enumerated constants are used as arguments to the New, Open, and NewFromFormTemplate methods of the XmlFormCollection collection.

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

See Also

Reference

Microsoft.Office.InfoPath Namespace