IComparisonOperators<TSelf,TOther,TResult>.GreaterThan 演算子

定義

2 つの値を比較して、どちらが大きいかを判断します。

public:
 static TResult operator >(TSelf left, TOther right);
public static abstract TResult operator > (TSelf left, TOther right);
static member ( > ) : 'Self * 'Other -> 'Result
Public Shared Operator > (left As TSelf, right As TOther) As TResult

パラメーター

left
TSelf

right比較する値。

right
TOther

left比較する値。

戻り値

TResult

leftright より大きい場合は true。それ以外の場合は false

適用対象