次の方法で共有


UI2 Members

Include Protected Members
Include Inherited 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 UI2 type exposes the following members.

Methods

  Name Description
Public method Alert(String) This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, seeUI2.Alert. (Inherited from UI.)
Public method Alert(String) Displays a message box with a custom text message in a Microsoft InfoPath 2010 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(String, String, String, String, String) This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, seeUI2.ShowMailItem. (Inherited from UI.)
Public method ShowMailItem(String, String, String, String, String) Creates an e-mail message in the default e-mail editor and attaches the currently open Microsoft InfoPath 2010 form to the message.
Public method ShowModalDialog(String, Object, Object, Object, Object, Object) This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, seeUI2.ShowModalDialog. (Inherited from UI.)
Public method ShowModalDialog(String, Object, Object, Object, Object, Object) Displays a custom modal dialog box in a Microsoft InfoPath 2010 form.
Public method ShowSignatureDialog() This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, seeUI2.ShowSignatureDialog. (Inherited from UI.)
Public method ShowSignatureDialog() Displays the Microsoft InfoPath 2010Digital Signatures dialog box.

Top

See Also

Reference

UI2 Interface

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace