IITResultSet::Add(PROPID,LPCWSTR,PRIORITY) method (infotech.h)

Adds a column to the result set.

Syntax

HRESULT Add(
  [in] PROPID   PropID,
  [in] LPCWSTR  lpszwDefault,
  [in] PRIORITY Priority
);

Parameters

[in] PropID

Property ID associated with column.

[in] lpszwDefault

Default value of string.

[in] Priority

Download priority of column (PRIORITY_LOW, PRIORITY_NORMAL, or PRIORITY_HIGH).

Return value

This method can return one of these values.

Return code Description
S_OK
The column was successfully added.
E_OUTOFMEMORY
Memory allocation failed.

Remarks

This method is used to add a column for string properties.

Requirements

Requirement Value
Target Platform Windows
Header infotech.h

See also

IITResultSet