Partager via


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)

Syntax

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

Members

Member name Description
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.
UseExistingVersion The form is created or opened using the existing 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.
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.
IgnoreDataConnectionsFailure The form is opened even if the query associated with its data connection fails to return data.
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.

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

See Also

Reference

Microsoft.Office.InfoPath Namespace