Properties

ArrayList Properties

The properties of the ArrayList class are listed here. For a complete list of ArrayList class members, see the ArrayList Members topic.

Public Properties

public propertyCapacity

Supported by the .NET Compact Framework.

Gets or sets the number of elements that the ArrayList can contain.
public propertyCount

Supported by the .NET Compact Framework.

Gets the number of elements actually contained in the ArrayList.
public propertyIsFixedSize

Supported by the .NET Compact Framework.

Gets a value indicating whether the ArrayList has a fixed size.
public propertyIsReadOnly

Supported by the .NET Compact Framework.

Gets a value indicating whether the ArrayList is read-only.
public propertyIsSynchronized

Supported by the .NET Compact Framework.

Gets a value indicating whether access to the ArrayList is synchronized (thread-safe).
public propertyItem Gets or sets the element at the specified index.

In C#, this property is the indexer for the ArrayList class.

public propertySyncRoot

Supported by the .NET Compact Framework.

Gets an object that can be used to synchronize access to the ArrayList.

See Also

ArrayList Class | System.Collections Namespace

Show:
© 2016 Microsoft