Retrieves the number of subitems of an Object or Array. Calling the function on scalar nodes will return an error.
Note: Calling this function on a Binary node will retrieve the binary data size in bytes, but it is recommended to use getBinaryDataInfo instead to get and verify all format properties of the binary blob before retrieving it.
Variants throwing exceptions on API errors:
int Count()
Variants returning API errors as int parameter:
int Count(Out int returnCode)
returnCode |
The error code returned when accessing the item. |
The number of subitems.