EN
Konten ini tidak tersedia dalam bahasa Anda dan berikut adalah versi bahasa Inggris.

XmlFormOpenMode enumeration

Specifies how a form will be opened.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

[FlagsAttribute]
public enum XmlFormOpenMode

Member nameDescription
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.
UseExistingVersionThe form is created or opened using the existing 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.
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.
IgnoreDataConnectionsFailureThe form is opened even if the query associated with its data connection fails to return data.
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.

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 InfoPath Filler.

Tampilkan:
© 2014 Microsoft