AmsNetId.CompareTo Method (AmsNetId)

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

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public int CompareTo(
    AmsNetId other
)

VB

Public Function CompareTo ( 
    other As AmsNetId
) As Integer

Parameters

other

Type: TwinCAT.Ads.AmsNetId
An object to compare with this object.

Return Value

Type: 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)

Reference

AmsNetId Class

CompareTo Overload

TwinCAT.Ads Namespace