Share via


Solution.PackageURL property

Gets the Uniform Resource Locator (URL) of the cache folder that contains a Microsoft Office InfoPath 2003 form's extracted form files.

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

Syntax

'Declaration
ReadOnly Property PackageURL As String
    Get
'Usage
Dim instance As Solution
Dim value As String

value = instance.PackageURL
string PackageURL { get; }

Property value

Type: System.String

Remarks

The PackageURL property is set at run time, and the URL it contains points to the folder where the form template's files are cached.

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.

Examples

In the following example, the PackageURL property of the SolutionObject object is used to display the folder's URL in a message box:

thisXDocument.UI.Alert("PackageURL: " + thisXDocument.Solution.PackageURL);

See also

Reference

Solution interface

Solution members

Microsoft.Office.Interop.InfoPath.SemiTrust namespace