_XDocument3.UI Property
Returns a reference to the UIObject object.
Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)
Syntax
'Declaration
ReadOnly Property UI As UIObject
Get
'Usage
Dim instance As _XDocument3
Dim value As UIObject
value = instance.UI
UIObject UI { get; }
Property Value
Type: Microsoft.Office.Interop.InfoPath.UIObject
A reference to the UIObject object.
Implements
Remarks
The UI (user interface) object provides a number of methods that can be used to display custom and built-in dialog boxes.
Examples
In the following example, the UI property of the XDocument object is used to display a simple message box using the Alert method:
thisXDocument.UI.Alert("Here is the message text.");