nxLibGetCount

Navigation:  NxLib API > C Interface > Read Access >

nxLibGetCount

Previous pageReturn to chapter overviewNext page

Retrieves the number of subitems of an Object or the number of elements of an Array item. In case of a Binary item its data size in bytes is returned.

Signature

NXLIBINT nxLibGetCount (NXLIBINT* result, NXLIBSTR itemPath);

Parameters

result

A pointer to a variable for the error code of the operation.

itemPath

The path of the item to access.

Return Value

The number of subitems.