Share via


System.Collections.IList.Add Method

Adds an object to an array.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

int System.Collections.IList.Add (
         Object value
)

Parameters

  • value
    The object you want to add to the array.

Return Value

An exception (in every case).

Remarks

This method always throws a NotSupportedException exception.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

Array Class
Array Members
System Namespace