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 s 的清單。 |
Type |
取得型別屬性,這個屬性會決定資源是檔案還是字串。 |
Uri |
取得具名資源 URI。 |
ValueAsString |
取得候選項目的值做為 String。 |
方法
GetQualifierValue(String) |
傳回限定詞的值,指定其名稱。 |