Skip to content

Commit 38cccd6

Browse files
Steve WhiteSteve White
authored andcommitted
Merged PR 22140: Bringing these docs up to date.
Bringing these docs up to date.
1 parent bf573c9 commit 38cccd6

6 files changed

Lines changed: 7 additions & 11 deletions

windows.applicationmodel/package_effectiveexternallocation.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,3 @@ To set the external folder, use one of the following combinations of [PackageMan
3434
[AddPackageByUriAsync](../windows.management.deployment/packagemanager_addpackagebyuriasync_797417417.md),[RegisterPackageByUriAsync](../windows.management.deployment/packagemanager_registerpackagebyuriasync_1415074502.md),[StagePackageByUriAsync](../windows.management.deployment/packagemanager_stagepackagebyuriasync_446584280.md)
3535

3636
## -examples
37-

windows.applicationmodel/package_effectivelocation.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,18 @@ public StorageFolder EffectiveLocation { get; }
1212

1313
## -description
1414

15-
Gets either the location of the installed folder or the mutable folder for the installed package, depending on whether the app is declared to be mutable in its package manifest.
15+
Gets the effective location for the installed package, depending on how the app is declared in its package manifest. For details, see **Remarks**.
1616

1717
## -property-value
1818

19-
The location of the installed folder or the mutable folder for the installed package, depending on whether the app is declared to be mutable in its package manifest.
19+
The effective location for the installed package, depending on how the app is declared in its package manifest. For details, see **Remarks**.
2020

2121
## -remarks
2222

23-
If the app is declared to be mutable by including the [windows.mutablePackageDirectories extension](/uwp/schemas/appxpackage/uapmanifestschema/element-desktop6-package-extension) in its package manifest, this property gets the mutable folder for the installed package (that is, the folder under C:\Program Files\ModifiableWindowsApps where users can add files that modify the app). If the app is not declared to be mutable, this property gets the same value as the [InstalledLocation](package_installedlocation.md) property. The mutable folder feature is currently available only for certain types of desktop PC games that are published by Microsoft and our partners, and it enables these types of games to support mods.
23+
If the package has a User-External location, then get that folder. Otherwise, if the package has a Machine-External location, then get that folder. Otherwise, if the package has a [Mutable location](/uwp/schemas/appxpackage/uapmanifestschema/element-desktop8-mutablepackagedirectories), then get the Mutable folder for the installed package (that is, the folder under `C:\Program Files\ModifiableWindowsApps` where users can add files that modify the app). Also see [Create a directory in any location based on packaged app directory](/windows/msix/manage/create-directory). Otherwise, get the same value as the [InstalledLocation](package_installedlocation.md) property. The mutable folder feature is currently available only for certain types of desktop PC games that are published by Microsoft and partners, and it enables those types of games to support modifications (mods).
2424

2525
## -see-also
2626

2727
[MutableLocation](package_mutablelocation.md),[InstalledLocation](package_installedlocation.md)
2828

2929
## -examples
30-

windows.applicationmodel/package_machineexternallocation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Gets the location of the machine-wide external folder specified in the package m
1515

1616
## -property-value
1717

18-
The location of the machine-wide external folder specified in the package manifest for the current package.
18+
The location of the machine-wide external folder specified in the package manifest for the current package. If the package doesn't have the path requested, then gets `null`.
1919

2020
## -remarks
2121

windows.applicationmodel/package_machineexternalpath.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Gets the location of the machine-wide external folder specified in the package m
1515

1616
## -property-value
1717

18-
The location of the machine-wide external folder specified in the package manifest for the current package.
18+
The location of the machine-wide external folder specified in the package manifest for the current package. If the package doesn't have the path requested, then gets an empty string.
1919

2020
## -remarks
2121

windows.applicationmodel/package_userexternallocation.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Gets the location of the per-user external folder specified in the package manif
1515

1616
## -property-value
1717

18-
The location of the per-user external folder specified in the package manifest for the current package.
18+
The location of the per-user external folder specified in the package manifest for the current package. If the package doesn't have the path requested, then gets `null`.
1919

2020
## -remarks
2121

@@ -34,4 +34,3 @@ To set the external folder, use one of the following combinations of [PackageMan
3434
[AddPackageByUriAsync](../windows.management.deployment/packagemanager_addpackagebyuriasync_797417417.md),[RegisterPackageByUriAsync](../windows.management.deployment/packagemanager_registerpackagebyuriasync_1415074502.md),[StagePackageByUriAsync](../windows.management.deployment/packagemanager_stagepackagebyuriasync_446584280.md)
3535

3636
## -examples
37-

windows.applicationmodel/package_userexternalpath.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Gets the path of the per-user external folder specified in the package manifest
1515

1616
## -property-value
1717

18-
The path of the per-user external folder specified in the package manifest for the current package.
18+
The path of the per-user external folder specified in the package manifest for the current package. If the package doesn't have the path requested, then gets an empty string.
1919

2020
## -remarks
2121

@@ -34,4 +34,3 @@ To set the external folder, use one of the following combinations of [PackageMan
3434
[AddPackageByUriAsync](../windows.management.deployment/packagemanager_addpackagebyuriasync_797417417.md),[RegisterPackageByUriAsync](../windows.management.deployment/packagemanager_registerpackagebyuriasync_1415074502.md),[StagePackageByUriAsync](../windows.management.deployment/packagemanager_stagepackagebyuriasync_446584280.md)
3535

3636
## -examples
37-

0 commit comments

Comments
 (0)