Export (0) Print
Expand All

IVector<TValue> Interface

Defines the interface for an STL/CLR vector object.

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

public interface IVector<TValue> : IRandomAccessContainer<TValue>, 
	ICloneable, ICollection, IEnumerable

Type Parameters

TValue

The type of an element in the controlled sequence.

The IVector<TValue> type exposes the following members.

  NameDescription
Public propertyback_itemAccesses the last element of the container.
Public propertyCountGets the number of elements contained in the ICollection. (Inherited from ICollection.)
Public propertyfront_itemAccesses the first element of the container.
Public propertyIsSynchronizedGets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from ICollection.)
Public propertyItemAccesses an element at a specified position in the container.
Public propertySyncRootGets an object that can be used to synchronize access to the ICollection. (Inherited from ICollection.)
Top

  NameDescription
Public methodassign(IEnumerable)Replaces all elements in the container with the elements in the specified enumeration.
Public methodassign(IInputIterator<TValue>, IInputIterator<TValue>)Replaces all elements in the container with the elements between the given iterators.
Public methodassign(Int32, TValue)Replaces all elements in the container with the specified number of elements that have given values.
Public methodatAccesses an element at a specified position in the container.
Public methodat_biasGets the element at the current bias of the container. The bias is the offset from the current element zero. (Inherited from IRandomAccessContainer<TValue>.)
Public methodbackAccesses the last element of the container.
Public methodbeginDesignates the beginning of the controlled sequence.
Public methodcapacityReports the size of allocated storage for the container.
Public methodclearRemoves all elements from the container.
Public methodCloneCreates a new object that is a copy of the current instance. (Inherited from ICloneable.)
Public methodCopyToCopies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection.)
Public methodemptyTests whether the container has no elements.
Public methodendDesignates the end of the controlled sequence.
Public methoderase(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>)Removes the single element of the controlled sequence that is pointed to by _Where.
Public methoderase(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>)Removes the elements of the controlled sequence in the range [_First_iter, _Last_iter).
Public methodfrontAccesses the first element of the container.
Public methodget_generationGets the current change generation of the underlying container.
Public methodGetEnumeratorReturns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public methodinsert(ContainerRandomAccessIterator<TValue>, IEnumerable)Inserts the sequence that is designated by an enumerator into the container.
Public methodinsert(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>, TValue)Inserts the specified value into the container.
Public methodinsert(ContainerRandomAccessIterator<TValue>, IInputIterator<TValue>, IInputIterator<TValue>)Inserts the sequence beginning with _First and ending with the element preceding _Last into the container.
Public methodinsert(ContainerRandomAccessIterator<TValue>, Int32, TValue)Inserts the specified number of the given elements into the container.
Public methodpop_backRemoves the last element from the container.
Public methodpush_backAdds a new element to the end of the container.
Public methodrbeginDesignates the beginning of the reversed controlled sequence.
Public methodrendDesignates the end of the reversed controlled sequence.
Public methodreserveReserves storage to ensure the minimum growth capacity for the container.
Public methodresize(Int32)Changes the number of elements in the container to the specified size.
Public methodresize(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.
Public methodsizeCounts the number of elements in the container.
Public methodswapSwaps the contents of two containers.
Public methodvalid_biasDetermines if a given bias is valid for the container. The bias is the offset from the current element zero. (Inherited from IRandomAccessContainer<TValue>.)
Top

  NameDescription
Public Extension MethodAsParallelEnables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension MethodAsQueryableConverts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension MethodCast<TResult>Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension MethodOfType<TResult>Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

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

Supported in: 4.5, 4, 3.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft