AmsNetId.CompareTo(AmsNetId) Method

Compares the current object with another object of the same type.


Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public int CompareTo(
AmsNetId? other
)

Parameters

other  AmsNetId

An object to compare with this object.

Return Value

Int32
A value that indicates the relative order of the objects being compared. The return value has the following meanings: Value Meaning Less than zero This object is less than the other parameter.Zero This object is equal to other. Greater than zero This object is greater than other.

Implements

IComparable<T>.CompareTo(T)

See Also

Reference

AmsNetId Class CompareTo Overload TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026