IndexedResourceCandidate 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
- 继承
- 属性
Windows 要求
设备系列 |
Windows Desktop Extension SDK (在 10.0.10240.0 中引入)
|
API contract |
Windows.ApplicationModel.Resources.Management.ResourceIndexerContract (在 v1.0 中引入)
|
属性
Metadata |
获取元数据名称值对的列表。 |
Qualifiers |
获取 IndexedResourceQualifier 的列表。 |
Type |
获取类型属性,该属性确定资源是文件还是字符串。 |
Uri |
获取命名的资源 URI。 |
ValueAsString |
获取 字符串形式的候选项的值。 |
方法
GetQualifierValue(String) |
返回限定符的值,给定其名称。 |