Share via


Solution2.PackageURL property

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

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.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
The Uniform Resource Locator (URL) of the cache folder that contains a Microsoft Office InfoPath form's extracted form files.

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.

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 namespace