name

Navigation:  NxLib API > C++ Interface > NxLibItem >

name

Previous pageReturn to chapter overviewNext page

Retrieves the item's name.

Note: Calling this function is only allowed when accessing object members by index, otherwise the function will fail.

Signatures

Variants throwing exceptions on API errors:

std::string name() const

Variants returning API errors as int* parameter:

std::string name(int* returnCode) const

Parameters

returnCode

The error code returned when accessing the item.

Return Value

The item's name.