Commit 8606ada
PackageManager.FindPackages: clarify user scope and parameter formats
Addresses community feedback (MicrosoftDocs/windows-dev-docs#5503):
1. FindPackages() — fix incorrect description ('specified family' copied
from sibling overload); add note that results span all users.
2. FindPackages(String familyName) — add NOTE callout clarifying that
packageFamilyName = Package.Id.FamilyName (not Name or FullName);
wrong format silently returns empty collection.
3. FindPackages(String name, String publisher) — empty Remarks filled in:
- All-users scope (not current user) now stated explicitly
- packageName = Package.Id.Name (not FullName)
- packagePublisher = Package.Id.Publisher (full X.500 DN, not PublisherId)
- Recommend FindPackages(FamilyName) as simpler alternative
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent d993f18 commit 8606ada
3 files changed
Lines changed: 15 additions & 2 deletions
File tree
- windows.management.deployment
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
27 | 35 | | |
28 | 36 | | |
29 | 37 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
0 commit comments