View Single Post
  #4 (permalink)  
Old July 22nd, 2003, 05:12 PM
sjaustin sjaustin is offline
Registered User
 
Join Date: Jul 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Apparently this is the correct behaviour. The documentation in incorrect when it says that these methods are overridable.
The methods Count, Remove and Clear are actually both overridable AND not overridable. They are overridable in the base class of the Collection, but in the inherited class they are declared as not-overridable. Microsoft say that this is a documentation mistake which will be corrected. We are supposed to use OnClear and OnRemove methods instead.

Stephen