Edit

Share via


_XDocument3.URI Property

Definition

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

public:
 property System::String ^ URI { System::String ^ get(); };
public string URI { get; }
member this.URI : string
Public ReadOnly Property URI As String

Property Value

Implements

URI

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.<span class="label">URI</span>);

Remarks

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

Important: This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

Applies to