Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
The getAttributeName method retrieves the name of the attribute corresponding to the specified index.
Syntax
HRESULT getAttributeName( long lIndex, BSTR* pbstrItemName );
Parameters
- lIndex
[in] long containing the index.
- pbstrItemName
[out] Pointer to a BSTR containing the attribute name.
Return Values
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
S_OK |
The method succeeded. |
Remarks
The attribute name returned can be used in conjunction with getItemInfo to retrieve the value for a specific named attribute.
Before calling this method, you must have read access to the library.