UI2 Interface

Definition

This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeUIObject.

public interface class UI2 : Microsoft::Office::Interop::InfoPath::SemiTrust::UI
[System.Runtime.InteropServices.Guid("096cd549-0786-11d1-95fa-0080c78ee3bb")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual)]
public interface UI2 : Microsoft.Office.Interop.InfoPath.SemiTrust.UI
type UI2 = interface
    interface UI
Public Interface UI2
Implements UI
Derived
Attributes
Implements
UI

Methods

Alert(String)

Displays a message box with a custom text message in a Microsoft InfoPath form.

Confirm(String, XdConfirmButtons)

Displays a message box with buttons for input from a user.

SetSaveAsDialogFileName(String)

Sets the default file name for a form in the Save As dialog box.

SetSaveAsDialogLocation(String)

Sets the initial location at which the Save As dialog starts to browse when it is opened.

ShowMailItem(String, String, String, String, String)

Creates an e-mail message in the default e-mail editor and attaches the currently open Microsoft InfoPath form to the message.

ShowModalDialog(String, Object, Object, Object, Object, Object)

Displays a custom modal dialog box in a Microsoft InfoPath form.

ShowSignatureDialog()

Displays the Microsoft InfoPathDigital Signatures dialog box.

Applies to