_XDocument4.URI - Propriété
Obtient l'URI (Uniform Resource Identifier) d'un formulaire Microsoft InfoPath.
Espace de noms : Microsoft.Office.Interop.InfoPath
Assembly : Microsoft.Office.Interop.InfoPath (dans Microsoft.Office.Interop.InfoPath.dll)
Syntaxe
'Déclaration
ReadOnly Property URI As String
Get
'Utilisation
Dim instance As _XDocument4
Dim value As String
value = instance.URI
string URI { get; }
Valeur de propriété
Type : System.String
Implémentations
Remarques
La propriété URI peut être utilisée comme nom d'un formulaire lorsqu'elle accédée via la collection XDocumentsCollection .
Exemples
Dans l'exemple suivant, la propriété URI de l'objet XDocument est utilisée pour afficher l'URI d'un formulaire dans une boîte de message :
thisXDocument.UI.Alert("URI:" + thisXDocument.URI);