Assume that you run a Microsoft Silverlight for a Windows Embedded application on a Windows Embedded Compact 7-based device. The application calls the IXRItemCollection::Clear function to remove all items from a collection. In this situation, the reference count of the removed items is not reduced correctly (it remains too high). This potentially leads to memory leaks in the application.
Note If Remove() or RemoveAt() method is called, the reference count is reduced correctly.
Note If Remove() or RemoveAt() method is called, the reference count is reduced correctly.