Called every time user clicks Remove button for the item which existed in initial Collection. Supposed to check if the item can be removed from collection. If item cannot be removed ArgumentException(<reasonString>) should be thrown.
[Visual Basic] Overridable Protected Sub DestroyOldInstance( _ ByVal valueAccess As IValueAccess, _ ByVal value As Object _ ) [C#] protected virtual void DestroyOldInstance( IValueAccess valueAccess, object value ); [C++] protected: virtual void DestroyOldInstance( IValueAccess* valueAccess, Object* value ); [JScript] protected function DestroyOldInstance( valueAccess : IValueAccess, value : Object );
OldCollectionEditor Class | OldCollectionEditor Members | System.ComponentModel.Design Namespace