Gets the Uniform Resource Identifier (URI) of a form.
Assembly: Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)
The value returned by the Uri property can be passed as the name of a form when it is accessed from the XmlFormCollection collection.
Depending on the state of the form, the Uri property will return a different value as described in the following table.
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.
This type or member can be accessed from code running in forms opened in Microsoft InfoPath Filler or in a Web browser.