ResourceCandidate クラス

定義

特定のリソースに対して使用可能な 1 つの値、そのリソースに関連付けられている修飾子、およびそれらの修飾子が解決されたコンテキストとどの程度一致するかを表します。

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
継承
Object Platform::Object IInspectable ResourceCandidate
属性

コンストラクター

ResourceCandidate(Byte[])

指定した値を持つ ResourceCandidate クラスのインスタンスを作成します。

ResourceCandidate(ResourceCandidateKind, String)

指定した値を持つ ResourceCandidate クラスのインスタンスを作成します。

プロパティ

Kind

この ResourceCandidate にカプセル化されたリソースの種類を取得します。

QualifierValues

この ResourceCandidate に関連付けられている修飾子を取得します。

ValueAsBytes

バイト単位で表される ResourceCandidate の値を取得します。

ValueAsString

文字列として表される ResourceCandidate の 値を取得します。

適用対象