ResourceCandidate Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a single possible value for a given resource, the qualifiers associated with that resource, and how well those qualifiers match the context against which it was resolved.
public ref class ResourceCandidate sealed
/// [Windows.Foundation.Metadata.Activatable(Microsoft.ApplicationModel.Resources.IResourceCandidateFactory, 65536, "Microsoft.ApplicationModel.Resources.MrtContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.ApplicationModel.Resources.MrtContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ResourceCandidate final
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.ApplicationModel.Resources.IResourceCandidateFactory), 65536, "Microsoft.ApplicationModel.Resources.MrtContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.ApplicationModel.Resources.MrtContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ResourceCandidate
function ResourceCandidate(kind, data)
Public NotInheritable Class ResourceCandidate
- Inheritance
- Attributes
Constructors
ResourceCandidate(Byte[]) |
Creates an instance of the ResourceCandidate class with the specified value. |
ResourceCandidate(ResourceCandidateKind, String) |
Creates an instance of the ResourceCandidate class with the specified value. |
Properties
Kind |
Gets the type of resource that is encapsulated in this ResourceCandidate. |
QualifierValues |
Gets the qualifiers associated with this ResourceCandidate. |
ValueAsBytes |
Gets the value of the ResourceCandidate represented in bytes. |
ValueAsString |
Gets the value of the ResourceCandidate represented as a string. |