ReadOnlyCollectionBase.InnerList Property

 

Gets the list of elements contained in the ReadOnlyCollectionBase instance.

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

member InnerList : ArrayList with get

Property Value

Type: System.Collections.ArrayList

An ArrayList representing the ReadOnlyCollectionBase instance itself.

Retrieving the value of this property is an O(1) operation.

Notes to Implementers:

This class makes the underlying collection available through the InnerList property, which is intended for use only by classes that are derived directly from ReadOnlyCollectionBase. The derived class must ensure that its own users cannot modify the underlying collection.

The following code example implements the ReadOnlyCollectionBase class.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
Show: