NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

OldCollectionEditor.DestroyOldInstance

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
);

Parameters

valueAccess
[To be supplied.]
value
[To be supplied.]

See Also

OldCollectionEditor Class | OldCollectionEditor Members | System.ComponentModel.Design Namespace