IComparisonOperators<TSelf,TOther,TResult> 인터페이스

정의

상대 순서를 결정하기 위해 두 값을 비교하는 메커니즘을 정의합니다.

generic <typename TSelf, typename TOther, typename TResult>
 where TSelf : IComparisonOperators<TSelf, TOther, TResult>public interface class IComparisonOperators : System::Numerics::IEqualityOperators<TSelf, TOther, TResult>
public interface IComparisonOperators<TSelf,TOther,TResult> : System.Numerics.IEqualityOperators<TSelf,TOther,TResult> where TSelf : IComparisonOperators<TSelf,TOther,TResult>
type IComparisonOperators<'Self, 'Other, 'Result (requires 'Self :> IComparisonOperators<'Self, 'Other, 'Result>)> = interface
    interface IEqualityOperators<'Self, 'Other, 'Result (requires 'Self :> IComparisonOperators<'Self, 'Other, 'Result>)>
Public Interface IComparisonOperators(Of TSelf, TOther, TResult)
Implements IEqualityOperators(Of TSelf, TOther, TResult)

형식 매개 변수

TSelf

이 인터페이스를 구현하는 형식입니다.

TOther

TSelf비교할 형식입니다.

TResult

비교의 결과로 반환되는 형식입니다.

파생
구현

연산자

GreaterThan(TSelf, TOther)

두 값을 비교하여 더 큰 값을 결정합니다.

GreaterThanOrEqual(TSelf, TOther)

두 값을 비교하여 크거나 같은 값을 결정합니다.

LessThan(TSelf, TOther)

두 값을 비교하여 어느 값이 더 적은지 확인합니다.

LessThanOrEqual(TSelf, TOther)

두 값을 비교하여 어느 값이 작거나 같은지 확인합니다.

적용 대상