共用方式為


Guid.LessThan(Guid, Guid) 運算子

定義

比較兩個值,以判斷哪一個值較少。

public:
 static bool operator <(Guid left, Guid right);
public static bool operator < (Guid left, Guid right);
static member ( < ) : Guid * Guid -> bool
Public Shared Operator < (left As Guid, right As Guid) As Boolean

參數

left
Guid

要與 right比較的值。

right
Guid

要與 left比較的值。

傳回

如果 left 小於 righttrue ;否則,false

適用於