Edit

Share via


XmlFormOpenMode Enum

Definition

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

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.

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.

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.

IgnoreDataConnectionsFailure 64

The form is opened even if the query associated with its data connection fails to return data.

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.

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.

UseExistingVersion 2

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

Applies to