GetAt Method

Retrieves the PROPERTYKEY at the specified index from the collection.

HRESULT GetAt(
    [in] const DWORD dwIndex,
    [in, out] PROPERTYKEY* pKey
);

Parameters

dwIndex

DWORD that contains the index of the property key to retrieve.

pKey

Address of a PROPERTYKEY variable that receives the property key.

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.