Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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)
public enum XdDocumentVersionMode
Member nameDescription
xdFailOnVersionMismatchThe form is created or opened only if it is accessible and its version number matches the version number of the form template.
xdFailOnVersionOlderThe 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.
xdUseExistingVersionThe form is created or opened using the existing version number of the form template.
xdCanOpenInReadOnlyModeThe form is opened in read-only mode.
xdCanTransformSignedThe form is opened and its transform applied, even though it has a digital signature.
xdPromptTransformSignedThe 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.
xdIgnoreDataAdaptersQueryFailureThe form is opened even if the query associated with its data adapter fails to return data.
xdDoNotInstallActiveXCabsThe form is opened but ActiveX controls are not installed from the cab files.

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.