ResourceMap.GetValue(String) | getValue(String) method
Returns the most appropriate candidate for a resource that is specified by a resource identifier for the default context.
Syntax
var resourceCandidate = resourceMap.getValue(resource);
Parameters
- resource
-
Type: String [JavaScript] | Platform::String [C++]
A resource specified as a name or reference.
Note The resource identifier is treated as a URI fragment, subject to URI semantics. For example, getValue("Caption%20") is treated as getValue("Caption "). Do not use "?" or "#" in resource identifiers, as they terminate the named resource path. For example, "Foo?3" is treated as "Foo".
Return value
Type: ResourceCandidate
A ResourceCandidate that describes the most appropriate candidate.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 12/4/2012
