ISearchQueryHelper::WriteProperties method (searchapi.h)

Not implemented.

Syntax

HRESULT WriteProperties(
  [in] ITEMID                   itemID,
  [in] DWORD                    dwNumberOfColumns,
  [in] PROPERTYKEY              *pColumns,
  [in] SEARCH_COLUMN_PROPERTIES *pValues,
  [in] FILETIME                 *pftGatherModifiedTime
);

Parameters

[in] itemID

Type: int

The ItemID that is to be affected. The ItemID is used to store the items unique identifier, such as a DocID.

[in] dwNumberOfColumns

Type: DWORD

The number of properties being written.

[in] pColumns

Type: PROPERTYKEY*

Pointer to an array of PROPERTYKEY structures that represent the properties.

[in] pValues

Type: SEARCH_COLUMN_PROPERTIES*

Pointer to an array of SEARCH_COLUMN_PROPERTIES structures that hold the property values.

[in] pftGatherModifiedTime

Type: FILETIME*

A pointer to the last modified time for the item being written. This time stamp is used later to see if an item has been changed and requires updating.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 with SP1 [desktop apps only]
Target Platform Windows
Header searchapi.h (include Searchapi.h)

See also

ISearchQueryHelper

ISearchQueryHelper::put_QueryContentProperties

Querying the Index Programmatically

Querying the Index with Windows Search SQL Syntax

System Properties