Share via


FormTemplate.Uri property

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

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

Syntax

'Declaration
Public MustOverride ReadOnly Property Uri As Uri
    Get
'Usage
Dim instance As FormTemplate
Dim value As Uri

value = instance.Uri
public abstract Uri Uri { get; }

Property value

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

Remarks

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.

See also

Reference

FormTemplate class

FormTemplate members

Microsoft.Office.InfoPath namespace