INamedPropertyStore::GetNameAt method
Gets the name of a property at a specified index in the property store.
Syntax
HRESULT GetNameAt(
[in] DWORD iProp,
[out] BSTR *pbstrName
);
Parameters
- iProp [in]
-
Type: DWORD
The index of the property in the store.
- pbstrName [out]
-
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
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|
Show: