IRandomAccessIterator<TValue>.less_than Method

Definition

Determines whether the current iterator is pointing to an element in the container that precedes the element that the given iterator points to.

public:
 bool less_than(Microsoft::VisualC::StlClr::Generic::IRandomAccessIterator<TValue> ^ _Right);
public bool less_than (Microsoft.VisualC.StlClr.Generic.IRandomAccessIterator<TValue> _Right);
abstract member less_than : Microsoft.VisualC.StlClr.Generic.IRandomAccessIterator<'Value> -> bool
Public Function less_than (_Right As IRandomAccessIterator(Of TValue)) As Boolean

Parameters

_Right
IRandomAccessIterator<TValue>

A valid iterator that points to the same container as the current iterator.

Returns

true if the current iterator is pointing to an element that comes before the element that _Right is pointing to; otherwise, false.

Applies to