Solution2.URI Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the Uniform Resource Identifier (URI) of an Microsoft InfoPath form template.
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
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.<span class="label">URI</span>);
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.
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.