Property

A property that describes the item.

Element hierarchy

<Properties>
<AdditionalProperties>
<Property>

Syntax

<Property Key   = string
          Type? = "bstr" | "boolean" | "string" | "wstr" | "astr" | ... : "string" >

  <!-- Child elements -->
  Value*

  <!-- This element may also contain text (mixed content). -->

</Property>

Key

?   optional (zero or one)

:   default value

*   optional (zero or more)

Attributes and Elements

Attributes

Attribute Description Data type Required Default value
Key

The key that identifies the property. This must be a system property name (see Windows Properties for a list) or the PROPERTYKEY of a property. (You can use the PROPERTYKEY to support arbitrary properties that are not known to the system.)

string Yes
Type

The type of value the property contains.

This attribute can have one of the following values:

  • bstr
  • boolean
  • string
  • wstr
  • astr
  • byte
  • int16
  • uint16
  • int32
  • uint32
  • uint64
  • int64
  • double
  • datetime
  • stringarray
  • guid
  • blob
  • null
  • empty
No string

 

Child Elements

Child Element Description
Value

The value that will be indexed for the property.

 

Parent Elements

Parent Element Description
AdditionalProperties

Contains additional properties that describe the item.

 

See also

Indexer sample

Windows.Storage.Search

Requirements

Value
Namespace http://schemas.microsoft.com/Search/2013/ApplicationContent