편집

다음을 통해 공유


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::UI
[System.Runtime.InteropServices.Guid("096CD549-0786-11D1-95FA-0080C78EE3BB")]
public interface UI2 : Microsoft.Office.Interop.InfoPath.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 Office 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 Office InfoPath form to the message.

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

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

ShowSignatureDialog()

Displays the Microsoft Office InfoPath 2003 Digital Signatures dialog box.

Applies to