IList<TValue> Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the interface for an STL/CLR list object.
generic <typename TValue>
public interface class IList : ICloneable, Microsoft::VisualC::StlClr::Generic::IBidirectionalContainer<TValue>, System::Collections::ICollection
public interface IList<TValue> : ICloneable, Microsoft.VisualC.StlClr.Generic.IBidirectionalContainer<TValue>, System.Collections.ICollection
type IList<'Value> = interface
interface IBidirectionalContainer<'Value>
interface ICloneable
interface ICollection
interface IEnumerable
Public Interface IList(Of TValue)
Implements IBidirectionalContainer(Of TValue), ICloneable, ICollection
- TValue
The type of a list element.
- Implements
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 A_0 placeholder represents the unnamed parameter.
back_item |
Accesses the last element of the container. |
Count |
Gets the number of elements contained in the ICollection. (Inherited from ICollection) |
front_item |
Accesses the first element of the container. |
Is |
Gets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from ICollection) |
Sync |
Gets an object that can be used to synchronize access to the ICollection. (Inherited from ICollection) |
assign(IEnumerable) |
Replaces the controlled sequence with the sequence that is designated by the given enumerator. |
assign(IInput |
Replaces the controlled sequence with the sequence |
assign(Int32, TValue) |
Replaces the controlled sequence with the specified number of the given element. |
back() |
Accesses the last element of the container. |
begin(Container |
Designates the beginning of the controlled sequence. |
clear() |
Removes all elements from the container. |
Clone() |
Creates a new object that is a copy of the current instance. (Inherited from ICloneable) |
Copy |
Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection) |
empty() |
Tests whether the container has no elements. |
end(Container |
Designates the end of the controlled sequence. |
erase(Container |
Removes the elements of the controlled sequence in the range [_First_iter, _Last_iter). |
erase(Container |
Removes the single element of the controlled sequence pointed to by the given iterator. |
front() |
Accesses the first element of the container. |
get_generation() |
Gets the current change generation of the underlying container. (Inherited from IBidirectionalContainer<TValue>) |
Get |
Returns an enumerator that iterates through a collection. (Inherited from IEnumerable) |
insert(Container |
Inserts an element of the given value into the container. |
insert(Container |
Inserts the elements of the specified enumerator into the container. |
insert(Container |
Inserts the sequence [ |
insert(Container |
Inserts an element of the given value into the container. |
merge(IList<TValue>, Binary |
Merges two ordered controlled sequences. |
pop_back() |
Removes the last element from the container. |
pop_front() |
Removes the first element from the container. |
push_back(TValue) |
Adds a new element to the end of the container. |
push_front(TValue) |
Adds a new element to the beginning of the container. |
rbegin(Reverse |
Designates the beginning of the reversed controlled sequence. |
remove_if(Unary |
Removes elements from the container that pass a specified test. |
remove(TValue) |
Removes an element that has a specified value from the container. |
rend(Reverse |
Designates the end of the reversed controlled sequence. |
resize(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. |
resize(Int32) |
Changes the number of elements in the container to the specified size. |
reverse() |
Reverses the elements of the controlled sequence. |
size() |
Counts the number of elements in the container. |
sort(Binary |
Orders the controlled sequence. |
splice(Container |
Removes the range of elements [ |
splice(Container |
Removes the element from the given container pointed to by |
splice(Container |
Inserts the given sequence into the container before the specified position. |
swap(IList<TValue>) |
Swaps the contents of two containers. |
unique(Binary |
Removes adjacent elements that pass a specified test. |
Cast<TResult>(IEnumerable) |
Casts the elements of an IEnumerable to the specified type. |
Of |
Filters the elements of an IEnumerable based on a specified type. |
As |
Enables parallelization of a query. |
As |
Converts an IEnumerable to an IQueryable. |
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: