'Usage
Dim instance As FormModelCollection Dim value As FormModel instance.Remove(value)
public: void Remove( FormModel^ value )
Parameters
- value
- The element to remove from the collection.
'Usage
Dim instance As FormModelCollection Dim value As FormModel instance.Remove(value)
public: void Remove( FormModel^ value )
Exception | Description |
---|---|
System.ArgumentException | Indicates that the specified element is not present in the collection. |
This method implements a standard collection operation. It searches the collection for a reference to the given element. If it finds a reference to it, it will delete it from the collection. If there are any elements following that one, this method will move them up (their indices will be one less than they were.)
If the specified element is present more than once in the collection, this method will remove the one with the lowest index.