ISearchQueryHelper::get_QuerySelectColumns Method
Gets the columns (or properties) requested in the SELECT statement of the query.
Syntax
HRESULT get_QuerySelectColumns( LPWSTR *pszSelectColumns );
Parameters
- pszSelectColumns
[out, retval] Receives a pointer to a comma-delimited, null-terminated Unicode string that specifies the columns (or properties) to be returned from a query.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
Items are represented in the property store as a row. Each row contains a number of columns that represent properties for that row or object. Not all items will have a value for a particular property. Properties must be in the property store to be subject to a select operation.
The DSearch code sample, available on Code Gallery and the Windows 7 SDK, demonstrates how to create a class for a static console application to query Windows Search using the Microsoft.Search.Interop assembly for ISearchQueryHelper.
See Also
ISearchQueryHelper::put_QuerySelectColumns, System Properties