diff --git a/microsoft.applicationmodel.resources/resourceloader_resourceloader_290278668.md b/microsoft.applicationmodel.resources/resourceloader_resourceloader_290278668.md index b8a09cf22..eb49d9621 100644 --- a/microsoft.applicationmodel.resources/resourceloader_resourceloader_290278668.md +++ b/microsoft.applicationmodel.resources/resourceloader_resourceloader_290278668.md @@ -17,14 +17,11 @@ 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. - -> [!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". +The path and name of the file that should be used for the current context. ## -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 46136bbe7..e3d8ad35f 100644 --- a/microsoft.windows.applicationmodel.resources/resourceloader_resourceloader_290278668.md +++ b/microsoft.windows.applicationmodel.resources/resourceloader_resourceloader_290278668.md @@ -18,14 +18,11 @@ 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. - -> [!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". +The path and name of the file that should be used for the current context. ## -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