Show All

# PackageURL Property

A read-only property that returns a string containing the Uniform Resource Locator (URL) of the cache folder that contains a Microsoft Office InfoPath 2003 form's extracted form files.

expression.PackageURL

expression Required. An expression that returns a reference to a Solution object.

## Security Level

2: 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.

## 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.

## Example

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

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

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp