UI2 Members (Microsoft.Office.Interop.InfoPath.SemiTrust)
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.
| Name | Description | |
|---|---|---|
| Alert | Displays a message box with a custom text message in a Microsoft Office InfoPath 2007 form.This method is not CLS-compliant. |
| Confirm | Displays a message box with buttons for input from a user.This method is not CLS-compliant. |
| SetSaveAsDialogFileName | Sets the default file name for a form in the Save As dialog box.This method is not CLS-compliant. |
| SetSaveAsDialogLocation | Sets the initial location at which the Save As dialog starts to browse when it is opened.This method is not CLS-compliant. |
| ShowMailItem | Creates an e-mail message in the default e-mail editor and attaches the currently open Microsoft Office InfoPath 2007 form to the message.This method is not CLS-compliant. |
| ShowModalDialog | Displays a custom modal dialog box in a Microsoft Office InfoPath 2007 form.This method is not CLS-compliant. |
| ShowSignatureDialog | Displays the Microsoft Office InfoPath 2007Digital Signatures dialog box.This method is not CLS-compliant. |