Partager via


_XDocument3.UI - Propriété

Renvoie une référence à l'objet UIObject .

Espace de noms :  Microsoft.Office.Interop.InfoPath
Assembly :  Microsoft.Office.Interop.InfoPath (dans Microsoft.Office.Interop.InfoPath.dll)

Syntaxe

'Déclaration
ReadOnly Property UI As UIObject
    Get
'Utilisation
Dim instance As _XDocument3
Dim value As UIObject

value = instance.UI
UIObject UI { get; }

Valeur de propriété

Type : Microsoft.Office.Interop.InfoPath.UIObject
Une référence à l'objet UIObject .

Implémentations

_XDocument2.UI

Remarques

L'objet UI (interface utilisateur) fournit plusieurs méthodes qui peuvent être utilisées pour afficher des boîtes de dialogue personnalisées et prédéfinies.

Exemples

Dans l'exemple suivant, la propriété UI de l'objet XDocument est utilisée pour afficher une boîte de message simple à l'aide de la méthode Alert :

thisXDocument.UI.Alert("Here is the message text.");

Voir aussi

Référence

_XDocument3 interface

_XDocument3 - Membres

UI - Surcharge

Microsoft.Office.Interop.InfoPath - Espace de noms