Επεξεργασία

Κοινή χρήση μέσω


INamedPropertyStore::GetNameAt method (propsys.h)

Gets the name of a property at a specified index in the property store.

Syntax

HRESULT GetNameAt(
  [in]  DWORD iProp,
  [out] BSTR  *pbstrName
);

Parameters

[in] iProp

Type: DWORD

The index of the property in the store.

[out] pbstrName

Type: BSTR*

When this method returns, contains a pointer to the property's name. It is the calling application's responsibility to free this resource when it is no longer needed.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

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