Get count of objects

I am using find children to capture objects. How do I count the no. of objects ?

enumerable.Count()

(enumerable is your get children output)

4 Likes

IEnumDesc.Cast(Of Object).ToArray().Length.ToString

1 Like