IndexableContent.Properties Property

Definition

Gets the content 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)

Property Value

IMap<String,Object>

IDictionary<String,Object>

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

IMap<winrt::hstring,IInspectable>

The collection of properties, represented as a Map of key-value pairs.

Implements

Remarks

While access to this type is read-only, it returns a read/write map.

Add a property to index by calling the Insert method with a standard Windows property name, like System.Author, and a PropertyValue.

When you're done adding properties to the current IndexableContent, call the AddAsync method to add the properties to the system index.

Applies to

See also