Share via


Solution2.PackageURL Property

Gets the Uniform Resource Locator (URL) of the cache folder that contains a Microsoft InfoPath 2010 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 Solution2
Dim value As String

value = instance.PackageURL
string PackageURL { get; }

Property Value

Type: System.String

Implements

Solution.PackageURL

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

Solution2 Interface

Solution2 Members

PackageURL Overload

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace