Message 1 of 6
Not applicable
06-09-2012
02:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi to all,
Since collections like for example the LayerTable have no Count property (as far as I can see, that is), I'm doing the following to get at the number of items:
Dim LayerCount as integer = 0
For Each Id as ObjectId in SomeLayerTable
LayerCount +=1
Next
Is this the right way to do it, or is there a more efficient way?
Thanks in advance for your reply.
Solved! Go to Solution.