ICollection ICollection ICollection ICollection Interface


Defines size, enumerators, and synchronization methods for all collections.

public interface class ICollection : System::Collections::IEnumerable
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDual | System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable)]
public interface ICollection : System.Collections.IEnumerable
type ICollection = interface
    interface IEnumerable
Public Interface ICollection
Implements IEnumerable


Count Count Count Count

When implemented by a class, gets the number of elements contained in the ICollection.


AddAt(Object, Object) AddAt(Object, Object) AddAt(Object, Object) AddAt(Object, Object)

Adds an item to a collection at a position.

AddItem(Object) AddItem(Object) AddItem(Object) AddItem(Object)

Adds an item to a collection.

GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Gets a list of items in a collection.

item(Object) item(Object) item(Object) item(Object)

Gets an item from a collection.

Applies to