Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.44 KB

package_installedlocation.md

File metadata and controls

37 lines (23 loc) · 1.44 KB
-api-id -api-type ms.custom
P:Windows.ApplicationModel.Package.InstalledLocation
winrt property
19H1

Windows.ApplicationModel.Package.InstalledLocation

-description

Gets the current package's path in the original install folder for the current package.

-property-value

The current package's path in the original install folder for the current package.

-remarks

There are several other ways to refer to a file in a package.

  • You can just begin a URI with a "/" to refer to the package root. For example: <img src="/file.png" alt="" />
  • You can use the "ms-appx:///" protocol. For example:<img src="ms-appx://packageFullName/file.png" alt="" />
  • You can also omit the package name to let the system fill in the domain, as shown here:

<img src="ms-appx:///file.png" alt="" /> For more info about how to refer to files in an app's package, see URI schemes and Reference an image or other asset from XAML markup and code.

-examples

-see-also

MutableLocation,EffectiveLocation,App package information sample (Windows 10)