Add Method (CommandList)
Adds an object to the end of the System.Collections.ArrayList.
Syntax
Parameters
- value
- The System.Object to be added to the end of the System.Collections.ArrayList. The value can be a null reference (Nothing in Visual Basic).
Return Value
The System.Collections.ArrayList index at which the value has been added.
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