XdDocumentVersionMode Enum

Definition

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

public enum class XdDocumentVersionMode
[System.Runtime.InteropServices.Guid("EB9A1DB2-DCC3-3108-B3CB-373012F74AE3")]
public enum XdDocumentVersionMode
type XdDocumentVersionMode = 
Public Enum XdDocumentVersionMode
Inheritance
XdDocumentVersionMode
Attributes

Fields

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.

xdDoNotInstallActiveXCabs 128

The form is opened but ActiveX controls are not installed from the cab files.

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 only if it is accessible and its version number is not 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.

xdPromptTransformSigned 32

The form is opened and the Digital Signatures dialog box is displayed before the form's transform is applied.

xdUseExistingVersion 2

The form is created or opened using the existing version number of the form template.

Remarks

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

Applies to