Share via


UI2 Members

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.

The following tables list the members exposed by the UI2 type.

Public Methods

  Name Description
Public method Alert Displays a message box with a custom text message in a Microsoft Office InfoPath form.
Public method Confirm Displays a message box with buttons for input from a user.
Public method SetSaveAsDialogFileName Sets the default file name for a form in the Save As dialog box.
Public method SetSaveAsDialogLocation Sets the initial location at which the Save As dialog starts to browse when it is opened.
Public method ShowMailItem Creates an e-mail message in the default e-mail editor and attaches the currently open Microsoft Office InfoPath form to the message.
Public method ShowModalDialog Displays a custom modal dialog box in a Microsoft Office InfoPath form.
Public method ShowSignatureDialog Displays the Microsoft Office InfoPath 2003 Digital Signatures dialog box.

Top

See Also

Reference

UI2 Interface
Microsoft.Office.Interop.InfoPath Namespace