Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 2.67 KB

package_effectiveexternallocation.md

File metadata and controls

37 lines (22 loc) · 2.67 KB
-api-id -api-type
P:Windows.ApplicationModel.Package.EffectiveExternalLocation
winrt property

Windows.ApplicationModel.Package.EffectiveExternalLocation

-description

Gets the location of the machine-wide or per-user external folder specified in the package manifest for the current package, depending on how the app is installed.

-property-value

The location of the machine-wide or per-user machine-wide external folder specified in the package manifest for the current package, depending on how the app is installed.

-remarks

The external folder is a disk location outside of the package where the package manifest can reference application content. This property returns either the machine-wide or per-user location of the external folder for the current package as a StorageFolder object, depending on whether the app is provisioned for all users on the machine or on a per-user basis.

This property is intended to be used when you are granting package identity by packaging with external location. A package with external location contains only a package manifest (not an executable or other application content). The package manifest references application content in an external disk location outside of the package.

To set the external folder, use one of the following combinations of PackageManager methods and related options properties:

-see-also

AddPackageByUriAsync,RegisterPackageByUriAsync,StagePackageByUriAsync

-examples