C#/XAML for HTML5 Documentation
C#/XAML for HTML5 Documentation
Reference
System.Collections
ArrayList Class
ArrayList Methods
Add Method
AddRange Method
BinarySearch Method
Clear Method
Contains Method
CopyTo Method
GetEnumerator Method
IndexOf Method
Insert Method
InsertRange Method
Remove Method
RemoveAt Method
RemoveRange Method
Reverse Method
Sort Method
ToArray Method
ArrayList
Add Method
Adds an object to the end of the
ArrayList
.
Namespace:
System.Collections
Assembly:
mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
Copy
public
virtual
int
Add
(
Object
value
)
Parameters
value
Type:
System
Object
The
Object
to be added to the end of the
ArrayList
. The value can be null.
Return Value
Type:
Int32
The
ArrayList
index at which the
value
has been added.
Implements
IList
Add(Object)
Exceptions
Exception
Condition
NotSupportedException
The
ArrayList
is read-only.-or- The
ArrayList
has a fixed size.
See Also
Reference
ArrayList Class
System.Collections Namespace