FormTemplate.Uri property

Office 2013 and later

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

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

Public MustOverride ReadOnly Property Uri As Uri
Dim instance As FormTemplate
Dim value As Uri

value = instance.Uri

Property value

Type: System.Uri
The Uniform Resource Identifier (URI) of the form template.

The URI property can take the form of a Uniform Resource Locator (URL) or Uniform Resource Name (URN), depending on the location from which the form was opened.

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.