Retrieves the item's name.
Note: Calling this function is only allowed when accessing object members by index, otherwise the function will fail.
Variants throwing exceptions on API errors:
std::string name() const
Variants returning API errors as int* parameter:
std::string name(int* returnCode) const
returnCode |
The error code returned when accessing the item. |
The item's name.