ValueComparerCompare 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: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

public override int Compare(
    Value x,
    Value y
)

Parameters

x  Value

The first Value to compare.

y  Value

The second Value to compare.

Return Value

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

IComparerTCompare(T, T)

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

ValueComparer Class TcHmiSrv.Core.Tools.Queries Namespace

Copyright © Beckhoff Automation GmbH & Co. KG