Remove Method (CommandList)
Removes the first occurrence of a specific object from the System.Collections.ArrayList.
Syntax
Parameters
- obj
- The System.Object to remove from the System.Collections.ArrayList. The value can be a null reference (Nothing in Visual Basic).
Exceptions
Exception | Description |
---|---|
System.NotSupportedException | The System.Collections.ArrayList is read-only.-or- The System.Collections.ArrayList has a fixed size. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also