ValueComparer.Compare Method

Performs a comparison of two Values and returns a value indicating whether one Value is less than, equal to, or greater than the other.

Namespace:  TcHmiSrv.Core.Tools.Queries
Assembly:  TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0

Syntax

C#

public override int Compare(
    Value x,
    Value y
)

Parameters

x

Type: TcHmiSrv.Core.Value
The first Value to compare.

y

Type: TcHmiSrv.Core.Value
The second Value to compare.

Return Value

Type: Int32
A value that is less than zero if x is less than y, zero if x equals y or greater than zero if x is greater than y.

Implements

IComparer.T..Compare(T, T)

Reference

ValueComparer Class

TcHmiSrv.Core.Tools.Queries Namespace