Solution2.URI property
Gets the Uniform Resource Identifier (URI) of a Microsoft Office InfoPath form template.
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 Solution2
Dim value As String
value = instance.URI
string URI { get; }
Property value
Type: System.String
The Uniform Resource Identifier (URI) of a Microsoft Office InfoPath form template.
Implements
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.
Examples
In the following example, the URI property of the SolutionObject object is used to display a form template's URI in a message box:
thisXDocument.UI.Alert("URI: " + thisXDocument.Solution.URI);