A user has 29 Legend Entries and has used the Select By Legend Entry command or has the appropriate code in an automation program to select all 29 Legend Entries. However, in the automation program, the MapView MapViewSelectedObjects.Count Property is 25 and not 29. Is this an error?
The maximum number of objects that can be added to the MapViewSelectedObjects Collection or the MapViewHighlightedObjects Collection is 25. The maximum value for these 2 collections cannot be increased even if the LocatedObjectsCollection.MaxNumOfObjects property is set to a value greater than 25 in an automation program.
Here is additional information/clarification on the MapViewSelectedObejcts and MapViewHighlightedObjects collections which are instances of a DisplayedObjects Collection: