Share via


_XDocument4.URI Property

Gets the Uniform Resource Identifier (URI) of a Microsoft InfoPath 2010 form.

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

Syntax

'Declaration
ReadOnly Property URI As String
    Get
'Usage
Dim instance As _XDocument4
Dim value As String

value = instance.URI
string URI { get; }

Property Value

Type: System.String

Implements

_XDocument3.URI

Remarks

The URI property can be used as the name of a form when accessed through the XDocumentsCollection collection.

Examples

In the following example, the URI property of the XDocument object is used to display a form's URI in a message box:

thisXDocument.UI.Alert("URI:" + thisXDocument.URI);

See Also

Reference

_XDocument4 Interface

_XDocument4 Members

URI Overload

Microsoft.Office.Interop.InfoPath Namespace