From 2d7f0994fa01257aaf9e089e04a67565454f1e39 Mon Sep 17 00:00:00 2001 From: Lauren Ciha Date: Tue, 2 Jun 2026 17:12:37 -0700 Subject: [PATCH 1/3] Correct the fileName parmeter description for WASDK ResourceLoader(String fileName) constructor --- .../resourceloader_resourceloader_290278668.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/microsoft.windows.applicationmodel.resources/resourceloader_resourceloader_290278668.md b/microsoft.windows.applicationmodel.resources/resourceloader_resourceloader_290278668.md index 46136bbe7..57cc23901 100644 --- a/microsoft.windows.applicationmodel.resources/resourceloader_resourceloader_290278668.md +++ b/microsoft.windows.applicationmodel.resources/resourceloader_resourceloader_290278668.md @@ -18,7 +18,7 @@ Constructs a new [ResourceLoader](resourceloader.md) object for the specified [R ### -param fileName -The resource identifier of the [ResourceMap](resourcemap.md) that the new resource loader uses for unqualified resource references. It can then retrieve resources relative to those references. +The path and name of the file that should be used for the current context. > [!NOTE] > The resource identifier is treated as a Uniform Resource Identifier (URI) fragment, subject to Uniform Resource Identifier (URI) semantics. For example, "Caption%20" is treated as "Caption ". Do not use "?" or "#" in resource identifiers, as they terminate the resource path. For example, "Foo?3" is treated as "Foo". From 952dc83780738fc03283f2ee9057d2ea83b15b95 Mon Sep 17 00:00:00 2001 From: Lauren Ciha Date: Wed, 3 Jun 2026 17:03:32 -0700 Subject: [PATCH 2/3] Correct the fileName parmeter description for WASDK ResourceLoader(String fileName) constructor on _resourceloader_290278668.md --- .../resourceloader_resourceloader_290278668.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/microsoft.applicationmodel.resources/resourceloader_resourceloader_290278668.md b/microsoft.applicationmodel.resources/resourceloader_resourceloader_290278668.md index b8a09cf22..e5ccad101 100644 --- a/microsoft.applicationmodel.resources/resourceloader_resourceloader_290278668.md +++ b/microsoft.applicationmodel.resources/resourceloader_resourceloader_290278668.md @@ -17,7 +17,7 @@ Constructs a new [ResourceLoader](resourceloader.md) object for the specified [R ### -param fileName -The resource identifier of the [ResourceMap](resourcemap.md) that the new resource loader uses for unqualified resource references. It can then retrieve resources relative to those references. +The path and name of the file that should be used for the current context. > [!NOTE] > The resource identifier is treated as a Uniform Resource Identifier (URI) fragment, subject to Uniform Resource Identifier (URI) semantics. For example, "Caption%20" is treated as "Caption ". Do not use "?" or "#" in resource identifiers, as they terminate the resource path. For example, "Foo?3" is treated as "Foo". From b4cef779929de3d497385c8c3e1fbbf75801c94d Mon Sep 17 00:00:00 2001 From: Lauren Ciha Date: Wed, 3 Jun 2026 17:22:04 -0700 Subject: [PATCH 3/3] Update remarks to reflect the parameter is a file name, not a resource map --- .../resourceloader_resourceloader_290278668.md | 5 +---- .../resourceloader_resourceloader_290278668.md | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/microsoft.applicationmodel.resources/resourceloader_resourceloader_290278668.md b/microsoft.applicationmodel.resources/resourceloader_resourceloader_290278668.md index e5ccad101..eb49d9621 100644 --- a/microsoft.applicationmodel.resources/resourceloader_resourceloader_290278668.md +++ b/microsoft.applicationmodel.resources/resourceloader_resourceloader_290278668.md @@ -19,12 +19,9 @@ Constructs a new [ResourceLoader](resourceloader.md) object for the specified [R The path and name of the file that should be used for the current context. -> [!NOTE] -> The resource identifier is treated as a Uniform Resource Identifier (URI) fragment, subject to Uniform Resource Identifier (URI) semantics. For example, "Caption%20" is treated as "Caption ". Do not use "?" or "#" in resource identifiers, as they terminate the resource path. For example, "Foo?3" is treated as "Foo". - ## -remarks -This constructor is typically used to access resources relative to a resource file with the specified resource identifier. For example, `new ResourceLoader('Errors');` is relative to errors.resjson or errors.resw. +This constructor is typically used to load resources from a specific PRI file. For example, `new ResourceLoader("MyResources.pri")` loads from the specified file relative to the app's working directory. ## -examples diff --git a/microsoft.windows.applicationmodel.resources/resourceloader_resourceloader_290278668.md b/microsoft.windows.applicationmodel.resources/resourceloader_resourceloader_290278668.md index 57cc23901..e3d8ad35f 100644 --- a/microsoft.windows.applicationmodel.resources/resourceloader_resourceloader_290278668.md +++ b/microsoft.windows.applicationmodel.resources/resourceloader_resourceloader_290278668.md @@ -20,12 +20,9 @@ Constructs a new [ResourceLoader](resourceloader.md) object for the specified [R The path and name of the file that should be used for the current context. -> [!NOTE] -> The resource identifier is treated as a Uniform Resource Identifier (URI) fragment, subject to Uniform Resource Identifier (URI) semantics. For example, "Caption%20" is treated as "Caption ". Do not use "?" or "#" in resource identifiers, as they terminate the resource path. For example, "Foo?3" is treated as "Foo". - ## -remarks -This constructor is typically used to access resources relative to a resource file with the specified resource identifier. For example, `new ResourceLoader('Errors');` is relative to errors.resjson or errors.resw. +This constructor is typically used to load resources from a specific PRI file. For example, `new ResourceLoader("MyResources.pri")` loads from the specified file relative to the app's working directory. ## -see-also