แก้ไข

แชร์ผ่าน


ContainerRandomAccessIterator<TValue>.LessThanOrEqual Operator

Definition

Determines whether the position of an iterator is less than or equal to the position of another iterator.

Overloads

LessThanOrEqual(ContainerRandomAccessIterator<TValue>)

Determines whether the position of the left-side iterator is less than or equal to the position of the given right-side iterator.

LessThanOrEqual(IRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>)

Determines whether the position of the given left-side iterator is less than the position of the given right-side iterator.

LessThanOrEqual(ContainerRandomAccessIterator<TValue>)

Determines whether the position of the left-side iterator is less than or equal to the position of the given right-side iterator.

public:
 bool operator <=(Microsoft::VisualC::StlClr::Generic::ContainerRandomAccessIterator<TValue> ^ _Right);
public bool operator <= (Microsoft.VisualC.StlClr.Generic.ContainerRandomAccessIterator<TValue> _Right);
member this.( <= ) : Microsoft.VisualC.StlClr.Generic.ContainerRandomAccessIterator<'Value> -> bool
Public Operator <= (_Right As ContainerRandomAccessIterator(Of TValue)) As Boolean

Parameters

_Right
ContainerRandomAccessIterator<TValue>

The iterator to compare with the left-side iterator.

Returns

true if the left-side iterator is less than or equal to the given right-side iterator; otherwise, false.

Applies to

LessThanOrEqual(IRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>)

Determines whether the position of the given left-side iterator is less than the position of the given right-side iterator.

public:
 static bool operator <=(Microsoft::VisualC::StlClr::Generic::IRandomAccessIterator<TValue> ^ _Left, Microsoft::VisualC::StlClr::Generic::ContainerRandomAccessIterator<TValue> ^ _Right);
public static bool operator <= (Microsoft.VisualC.StlClr.Generic.IRandomAccessIterator<TValue> _Left, Microsoft.VisualC.StlClr.Generic.ContainerRandomAccessIterator<TValue> _Right);
static member ( <= ) : Microsoft.VisualC.StlClr.Generic.IRandomAccessIterator<'Value> * Microsoft.VisualC.StlClr.Generic.ContainerRandomAccessIterator<'Value> -> bool
Public Shared Operator <= (_Left As IRandomAccessIterator(Of TValue), _Right As ContainerRandomAccessIterator(Of TValue)) As Boolean

Parameters

_Left
IRandomAccessIterator<TValue>

The iterator to compare with the right-side iterator.

_Right
ContainerRandomAccessIterator<TValue>

The iterator to compare with the left-side iterator.

Returns

true if the given left-side iterator is less than or equal to the given right-side iterator; otherwise, false.

Applies to