IPropertyChangeArray::AppendOrReplace method (propsys.h)

Replaces the first occurrence of a change that affects the same property key as the provided change. If the property key is not already in the array, this method appends the change to the end of the array.

Syntax

HRESULT AppendOrReplace(
  [in] IPropertyChange *ppropChange
);

Parameters

[in] ppropChange

Type: IPropertyChange*

A pointer to the interface that contains the change

Return value

Type: HRESULT

Returns S_OK if successful, or an error value otherwise.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header propsys.h