Export (0) Print
Expand All
Expand Minimize

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)

[FlagsAttribute] 
public enum XmlFormOpenMode

 Member nameDescription
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. 
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. 
IgnoreDataConnectionsFailureThe form is opened even if the query associated with its data connection fails to return data. 
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. 
ReadOnlyThe form is opened in read-only mode. 
TransformEvenIfSignedThe form is opened and its transform applied, even though it has a digital signature. 
UseExistingVersionThe form is created or opened using the existing version number of the form template. 

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.

Community Additions

ADD
Show:
© 2014 Microsoft