IndexableContent.Properties 屬性

定義

取得內容屬性。

public:
 property IMap<Platform::String ^, Platform::Object ^> ^ Properties { IMap<Platform::String ^, Platform::Object ^> ^ get(); };
IMap<winrt::hstring, IInspectable const&> Properties();
public IDictionary<string,object> Properties { get; }
var iMap = indexableContent.properties;
Public ReadOnly Property Properties As IDictionary(Of String, Object)

屬性值

IMap<String,Object>

IDictionary<String,Object>

IMap<Platform::String,Platform::Object>

IMap<winrt::hstring,IInspectable>

屬性的集合,表示為索引鍵/值組的 對應

實作

備註

雖然此類型的存取是唯讀的,但它會傳回讀取/寫入對應。

使用標準 Windows 屬性名稱呼叫 Insert 方法,例如 System.AuthorPropertyValue,將屬性新增至索引。

當您完成將屬性新增至目前的 IndexableContent時,請呼叫 AddAsync 方法,將屬性新增至系統索引。

適用於

另請參閱