Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

XmlFormOpenMode enumeration

Specifies how a form will be opened.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)
[FlagsAttribute]
public enum XmlFormOpenMode
Member nameDescription
FailOnVersionMismatchThe form is created or opened only if it is accessible and its version number matches the version number of the form template.
FailOnVersionOlderThe 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.
UseExistingVersionThe form is created or opened using the existing version number of the form template.
ReadOnlyThe form is opened in read-only mode.
TransformEvenIfSignedThe form is opened and its transform applied, even though it has a digital signature.
PromptIfSignedThe 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.
IgnoreDataConnectionsFailureThe form is opened even if the query associated with its data connection fails to return data.
DefaultThe 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.

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 InfoPath Filler.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.