This documentation is archived and is not being maintained.
IVector<TValue> Interface
Visual Studio 2010
Defines the interface for an STL/CLR vector object.
Assembly: Microsoft.VisualC.STLCLR (in Microsoft.VisualC.STLCLR.dll)
The IVector<TValue> type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | 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. |
![]() | IsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from ICollection.) |
![]() | Item | Accesses an element at a specified position in the container. |
![]() | SyncRoot | Gets an object that can be used to synchronize access to the ICollection. (Inherited from ICollection.) |
| Name | Description | |
|---|---|---|
![]() | assign(IEnumerable) | Replaces all elements in the container with the elements in the specified enumeration. |
![]() | assign(IInputIterator<TValue>, IInputIterator<TValue>) | Replaces all elements in the container with the elements between the given iterators. |
![]() | assign(Int32, TValue) | Replaces all elements in the container with the specified number of elements that have given values. |
![]() | at | Accesses an element at a specified position in the container. |
![]() | at_bias | Gets the element at the current bias of the container. The bias is the offset from the current element zero. (Inherited from IRandomAccessContainer<TValue>.) |
![]() | back | Accesses the last element of the container. |
![]() | begin | Designates the beginning of the controlled sequence. |
![]() | capacity | Reports the size of allocated storage for the container. |
![]() | clear | Removes all elements from the container. |
![]() | Clone | Creates a new object that is a copy of the current instance. (Inherited from ICloneable.) |
![]() | CopyTo | 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 | Designates the end of the controlled sequence. |
![]() | erase(ContainerRandomAccessIterator<TValue>%, ContainerRandomAccessIterator<TValue>) | Removes the single element of the controlled sequence that is pointed to by _Where. |
![]() | erase(ContainerRandomAccessIterator<TValue>%, ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>) | Removes the elements of the controlled sequence in the range [_First_iter, _Last_iter). |
![]() | front | Accesses the first element of the container. |
![]() | get_generation | Gets the current change generation of the underlying container. |
![]() | GetEnumerator | Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.) |
![]() | insert(ContainerRandomAccessIterator<TValue>, IEnumerable) | Inserts the sequence that is designated by an enumerator into the container. |
![]() | insert(ContainerRandomAccessIterator<TValue>%, ContainerRandomAccessIterator<TValue>, TValue) | Inserts the specified value into the container. |
![]() | insert(ContainerRandomAccessIterator<TValue>, IInputIterator<TValue>, IInputIterator<TValue>) | Inserts the sequence beginning with _First and ending with the element preceding _Last into the container. |
![]() | insert(ContainerRandomAccessIterator<TValue>, Int32, TValue) | Inserts the specified number of the given elements into the container. |
![]() | pop_back | Removes the last element from the container. |
![]() | push_back | Adds a new element to the end of the container. |
![]() | rbegin | Designates the beginning of the reversed controlled sequence. |
![]() | rend | Designates the end of the reversed controlled sequence. |
![]() | reserve | Reserves storage to ensure the minimum growth capacity for the container. |
![]() | resize(Int32) | Changes the number of elements in the container to the specified size. |
![]() | 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 method appends elements that have value _Val. |
![]() | size | Counts the number of elements in the container. |
![]() | swap | Swaps the contents of two containers. |
![]() | valid_bias | Determines if a given bias is valid for the container. The bias is the offset from the current element zero. (Inherited from IRandomAccessContainer<TValue>.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel | Enables parallelization of a query. (Defined by ParallelEnumerable.) |
![]() | AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
![]() | Cast<TResult> | Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
![]() | OfType<TResult> | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
