How to get camera objectid from ViewItem Instance

I have a view with several cameras.

I can see the name of each cam, but I can’t get the objectid of the cam.

The objectid I ​​get is that of the ViewItem Instance.

How How to get camera objectid from ViewItem Instance?

Configuration Dump sample might be helpful -

https://doc.developer.milestonesys.com/html/index.html?base=samples/configurationdump_sample.html&tree=tree_1.html