Add Method

Adds a property key to the collection.

HRESULT Add(
    [in] REFPROPERTYKEY Key
);

Parameters

Key

[in] A REFPROPERTYKEY value that specifies the property key to add to the collection.

Return Value

This method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description

S_OK

The method succeeded.

Requirements

Requires Windows 7.