Share via


XdDocumentVersionMode Enumeration

The XdDocumentVersionMode enumeration is used to determine how a Microsoft InfoPath 2010 form will be opened.

Namespace:  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

Syntax

'Declaration
Public Enumeration XdDocumentVersionMode
'Usage
Dim instance As XdDocumentVersionMode
public enum XdDocumentVersionMode

Members

Member name Description
xdFailOnVersionMismatch The form is created or opened only if it is accessible and its version number matches the version number of the form template.
xdFailOnVersionOlder The form is created or opened if its version number is older than the version number of the form template. Since the form is opened against a more recent version of the form template, an update will occur.
xdUseExistingVersion The form is created or opened using the existing version number of the form template.
xdCanOpenInReadOnlyMode The form is opened in read-only mode.
xdCanTransformSigned The form is opened and its transform applied, even though it has a digital signature.
xdPromptTransformSigned 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.
xdIgnoreDataAdaptersQueryFailure The form is opened even if the query associated with its data adapter fails to return data.
xdDoNotInstallActiveXCabs The form is opened but ActiveX controls are not installed from the cab files.

Remarks

These enumerated values are used as arguments to the New and Open methods of the ExternalApplication object and XDocumentsCollection collection.

See Also

Reference

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace