ResourceCandidate Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Rappresenta un singolo valore possibile per una determinata risorsa, i qualificatori associati a tale risorsa e il modo in cui tali qualificatori corrispondono al contesto in cui è stato risolto.
public ref class ResourceCandidate sealed
/// [Windows.Foundation.Metadata.Activatable(Microsoft.Windows.ApplicationModel.Resources.IResourceCandidateFactory, 65536, "Microsoft.Windows.ApplicationModel.Resources.MrtContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.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.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Microsoft.Windows.ApplicationModel.Resources.IResourceCandidateFactory, 65536, "Microsoft.Windows.ApplicationModel.Resources.MrtCoreContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.ApplicationModel.Resources.MrtCoreContract, 65536)]
class ResourceCandidate final
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.Windows.ApplicationModel.Resources.IResourceCandidateFactory), 65536, "Microsoft.Windows.ApplicationModel.Resources.MrtContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.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
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.Windows.ApplicationModel.Resources.IResourceCandidateFactory), 65536, "Microsoft.Windows.ApplicationModel.Resources.MrtCoreContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.ApplicationModel.Resources.MrtCoreContract), 65536)]
public sealed class ResourceCandidate
function ResourceCandidate(kind, data)
Public NotInheritable Class ResourceCandidate
- Ereditarietà
- Attributi
Costruttori
ResourceCandidate(Byte[]) |
Crea un'istanza della classe ResourceCandidate con il valore specificato. |
ResourceCandidate(ResourceCandidateKind, String) |
Crea un'istanza della classe ResourceCandidate con il valore specificato. |
Proprietà
Kind |
Ottiene il tipo di risorsa incapsulata in questa risorsaCandidate. |
QualifierValues |
Ottiene i qualificatori associati a resourceCandidate. |
ValueAsBytes |
Ottiene il valore di ResourceCandidate rappresentato in byte. |
ValueAsString |
Ottiene il valore di ResourceCandidate rappresentato come stringa. |