Compartir a través de


System.Collections.IList.Add Method

Adds an object to an array.

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

Syntax

int System.Collections.IList.Add (
         Objectvalue
)

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, and 4.1.

See Also

Reference

Array Class
Array Members
System Namespace