Rune.LessThanOrEqual(Rune, Rune) Operator

Definition

返回一个值,该值指示指定的 Rune 是小于还是等于另一个指定的 RuneReturns a value indicating whether a specified Rune is less than or equal to another specified Rune.

public:
 static bool operator <=(System::Text::Rune left, System::Text::Rune right);
public static bool operator <= (System.Text.Rune left, System.Text.Rune right);
static member ( <= ) : System.Text.Rune * System.Text.Rune -> bool
Public Shared Operator <= (left As Rune, right As Rune) As Boolean

Parameters

left
Rune

要比较的第一个值。The first value to compare.

right
Rune

要比较的第二个值。The second value to compare.

Returns

Boolean

如果 left 小于等于 right,则为 true;否则为 falsetrue if left is less than or equal to right; otherwise, false.

Applies to