IList<TValue> Interface

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Defines the interface for an STL/CLR list object.

Namespace:   Microsoft.VisualC.StlClr
Assembly:  Microsoft.VisualC.STLCLR (in Microsoft.VisualC.STLCLR.dll)

public interface IList<TValue> : IBidirectionalContainer<TValue>, 
	ICloneable, ICollection, IEnumerable

Type Parameters

TValue

The type of a list element.

NameDescription
System_CAPS_pubpropertyback_item

Accesses the last element of the container.

System_CAPS_pubpropertyCount

Gets the number of elements contained in the ICollection.(Inherited from ICollection.)

System_CAPS_pubpropertyfront_item

Accesses the first element of the container.

System_CAPS_pubpropertyIsSynchronized

Gets a value indicating whether access to the ICollection is synchronized (thread safe).(Inherited from ICollection.)

System_CAPS_pubpropertySyncRoot

Gets an object that can be used to synchronize access to the ICollection.(Inherited from ICollection.)

NameDescription
System_CAPS_pubmethodassign(IEnumerable)

Replaces the controlled sequence with the sequence that is designated by the given enumerator.

System_CAPS_pubmethodassign(IInputIterator<TValue>, IInputIterator<TValue>)

Replaces the controlled sequence with the sequence [_First, _Last).

System_CAPS_pubmethodassign(Int32, TValue)

Replaces the controlled sequence with the specified number of the given element.

System_CAPS_pubmethodback()

Accesses the last element of the container.

System_CAPS_pubmethodbegin(ContainerBidirectionalIterator<TValue>)

Designates the beginning of the controlled sequence.

System_CAPS_pubmethodclear()

Removes all elements from the container.

System_CAPS_pubmethodClone()

Creates a new object that is a copy of the current instance.(Inherited from ICloneable.)

System_CAPS_pubmethodCopyTo(Array, Int32)

Copies the elements of the ICollection to an Array, starting at a particular Array index.(Inherited from ICollection.)

System_CAPS_pubmethodempty()

Tests whether the container has no elements.

System_CAPS_pubmethodend(ContainerBidirectionalIterator<TValue>)

Designates the end of the controlled sequence.

System_CAPS_pubmethoderase(ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>)

Removes the single element of the controlled sequence pointed to by the given iterator.

System_CAPS_pubmethoderase(ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>)

Removes the elements of the controlled sequence in the range [_First_iter, _Last_iter).

System_CAPS_pubmethodfront()

Accesses the first element of the container.

System_CAPS_pubmethodget_generation()

Gets the current change generation of the underlying container.(Inherited from IBidirectionalContainer<TValue>.)

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that iterates through a collection.(Inherited from IEnumerable.)

System_CAPS_pubmethodinsert(ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>, TValue)

Inserts an element of the given value into the container.

System_CAPS_pubmethodinsert(ContainerBidirectionalIterator<TValue>, IEnumerable)

Inserts the elements of the specified enumerator into the container.

System_CAPS_pubmethodinsert(ContainerBidirectionalIterator<TValue>, IInputIterator<TValue>, IInputIterator<TValue>)

Inserts the sequence [_First, _Last) into the container.

System_CAPS_pubmethodinsert(ContainerBidirectionalIterator<TValue>, Int32, TValue)

Inserts the specified number of elements of the given value into the container.

System_CAPS_pubmethodmerge(IList<TValue>, BinaryDelegate<TValue, TValue, Boolean>)

Merges two ordered controlled sequences.

System_CAPS_pubmethodpop_back()

Removes the last element from the container.

System_CAPS_pubmethodpop_front()

Removes the first element from the container.

System_CAPS_pubmethodpush_back(TValue)

Adds a new element to the end of the container.

System_CAPS_pubmethodpush_front(TValue)

Adds a new element to the beginning of the container.

System_CAPS_pubmethodrbegin(ReverseBidirectionalIterator<TValue>)

Designates the beginning of the reversed controlled sequence.

System_CAPS_pubmethodremove(TValue)

Removes an element that has a specified value from the container.

System_CAPS_pubmethodremove_if(UnaryDelegate<TValue, Boolean>)

Removes elements from the container that pass a specified test.

System_CAPS_pubmethodrend(ReverseBidirectionalIterator<TValue>)

Designates the end of the reversed controlled sequence.

System_CAPS_pubmethodresize(Int32)

Changes the number of elements in the container to the specified size.

System_CAPS_pubmethodresize(Int32, TValue)

Changes the number of elements in the container to the specified size. If the new size is larger than the old size, the given values will be appended to the container.

System_CAPS_pubmethodreverse()

Reverses the elements of the controlled sequence.

System_CAPS_pubmethodsize()

Counts the number of elements in the container.

System_CAPS_pubmethodsort(BinaryDelegate<TValue, TValue, Boolean>)

Orders the controlled sequence.

System_CAPS_pubmethodsplice(ContainerBidirectionalIterator<TValue>, IList<TValue>)

Inserts the given sequence into the container before the specified position.

System_CAPS_pubmethodsplice(ContainerBidirectionalIterator<TValue>, IList<TValue>, ContainerBidirectionalIterator<TValue>)

Removes the element from the given container pointed to by _First and inserts it before the element in the controlled sequence pointed to by _Where.

System_CAPS_pubmethodsplice(ContainerBidirectionalIterator<TValue>, IList<TValue>, ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>)

Removes the range of elements [_First, _Last) from the given container and inserts it before the element in the controlled sequence pointed to by _Where.

System_CAPS_pubmethodswap(IList<TValue>)

Swaps the contents of two containers.

System_CAPS_pubmethodunique(BinaryDelegate<TValue, TValue, Boolean>)

Removes adjacent elements that pass a specified test.

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

Some methods, especially operators, declare a type for a parameter but do not specify a parameter name. Such a parameter is known as an unnamed parameter. In the documentation for these methods, the __unnamed0 placeholder represents the unnamed parameter.

.NET Framework
Available since 3.5
Return to top
Show: