IndexedResourceCandidate Class

Definition

Represents a single possible value for a given resource, and the qualifiers associated with that resource.

Important

You can't use this class in a UWP app.

public ref class IndexedResourceCandidate sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Resources.Management.ResourceIndexerContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class IndexedResourceCandidate final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Resources.Management.ResourceIndexerContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class IndexedResourceCandidate
Public NotInheritable Class IndexedResourceCandidate
Inheritance
Object Platform::Object IInspectable IndexedResourceCandidate
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.ApplicationModel.Resources.Management.ResourceIndexerContract (introduced in v1.0)

Properties

Metadata

Gets the list of metadata name value pairs.

Qualifiers

Gets the list of IndexedResourceQualifier s.

Type

Gets the type property that determines whether the resource is a file or a string.

Uri

Gets the named resource Uri.

ValueAsString

Gets the value of the candidate as a String.

Methods

GetQualifierValue(String)

Returns the value of a qualifier, given its name.

Applies to