XdDocumentVersionMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The XdDocumentVersionMode enumeration is used to determine how a Microsoft InfoPath form will be opened.
public enum class XdDocumentVersionMode
public enum XdDocumentVersionMode
type XdDocumentVersionMode =
Public Enum XdDocumentVersionMode
- Inheritance
-
XdDocumentVersionMode
Fields
Name | Value | Description |
---|---|---|
xdFailOnVersionMismatch | 0 | The form is created or opened only if it is accessible and its version number matches the version number of the form template. |
xdFailOnVersionOlder | 1 | 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 | 2 | The form is created or opened using the existing version number of the form template. |
xdCanOpenInReadOnlyMode | 8 | The form is opened in read-only mode. |
xdCanTransformSigned | 16 | The form is opened and its transform applied, even though it has a digital signature. |
xdPromptTransformSigned | 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. |
xdIgnoreDataAdaptersQueryFailure | 64 | The form is opened even if the query associated with its data adapter fails to return data. |
xdDoNotInstallActiveXCabs | 128 | 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.