XmlFormOpenMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies how a form will be opened.
This enumeration supports a bitwise combination of its member values.
public enum class XmlFormOpenMode
[System.Flags]
public enum XmlFormOpenMode
type XmlFormOpenMode =
Public Enum XmlFormOpenMode
- Inheritance
-
XmlFormOpenMode
- Attributes
Fields
Name | Value | Description |
---|---|---|
FailOnVersionMismatch | 0 | The form is created or opened only if it is accessible and its version number matches the version number of the form template. |
Default | 1 | 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. |
FailOnVersionOlder | 1 | 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. |
UseExistingVersion | 2 | The form is created or opened using the existing version number of the form template. |
ReadOnly | 8 | The form is opened in read-only mode. |
TransformEvenIfSigned | 16 | The form is opened and its transform applied, even though it has a digital signature. |
PromptIfSigned | 32 | 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. |
IgnoreDataConnectionsFailure | 64 | The form is opened even if the query associated with its data connection fails to return data. |
Remarks
These enumerated constants are used as arguments to the Microsoft.Office.InfoPath.XmlFormCollection.New, Microsoft.Office.InfoPath.XmlFormCollection.Open, and NewFromFormTemplate(String, String, XmlFormOpenMode) methods of the XmlFormCollection collection.
This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.