ActivityCollection.IList.Remove(Object) Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the first occurrence of a specific object from the IList.
 virtual void System.Collections.IList.Remove(System::Object ^ value) = System::Collections::IList::Remove;void IList.Remove(object value);override this.System.Collections.IList.Remove : obj -> unitSub Remove (value As Object) Implements IList.RemoveParameters
Implements
Exceptions
Remarks
The elements that follow the removed element move up to occupy the vacated spot.