Visual Basic
C#
Managed Extensions for C++
C++/CLI
After all items are deleted in the collecion, the collection is reset to null.