IADsPropertyList::PutPropertyItem

Changes the value for an item in the property list.

HRESULT PutPropertyItem(
  VARIANT VarData      //Property value to be written
);
 

Parameters

[in] VarData
New property values to be written.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

S_OK
The value was written to the property list.