語言

ConstContainerRandomAccessIterator<TValue>.LessThanOrEqual 運算子

定義

判斷迭代器的位置大小於或等於另一個迭代者的位置。

多載

名稱 Description
LessThanOrEqual(ConstContainerRandomAccessIterator<TValue>)

判斷左側迭代器的位置大小於或等於右側迭代器的位置。

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

判斷左側迭代器的位置是否小於右側迭代器的位置。

LessThanOrEqual(ConstContainerRandomAccessIterator<TValue>)

判斷左側迭代器的位置大小於或等於右側迭代器的位置。

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

參數

_Right
ConstContainerRandomAccessIterator<TValue>

用來比較左側迭代器的迭代器。

傳回

true如果左側迭代器小於或等於右側的迭代器;否則,。 false

適用於

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

判斷左側迭代器的位置是否小於右側迭代器的位置。

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

參數

_Left
IRandomAccessIterator<TValue>

用來比較右側迭代器。

_Right
ConstContainerRandomAccessIterator<TValue>

用來比較左側迭代器的迭代器。

傳回

true若給定的左側迭代器小於或等於給定的右側迭代器;否則,。 false

適用於