Windows Dev Center

IndexableContent.Properties | properties property

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Gets the content properties.

Syntax


var properties = indexableContent.properties;

Property value

Type: IMap<String, Object> [JavaScript/C++] | System.Collections.Generic.IDictionary<String, Object> [.NET]

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

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.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Storage.Search
Windows::Storage::Search [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows 10 Mobile Insider Preview

Namespace

Windows.Storage.Search
Windows::Storage::Search [C++]

Metadata

Windows.winmd

See also

AddAsync
ContentIndexer
IndexableContent

 

 

Show:
© 2015 Microsoft