NotificationSettings.CompareTo Method

Compares this NotificationSettings in term of priorities to the other NotificationSettings.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public int CompareTo(
    INotificationSettings? other
)

Parameters

other

Type: TwinCAT.Ads.INotificationSettings
The other.

Return Value

Type: Int32
1: this has higher priority (shorter times), 0: Equal, 1: Lower prioritiy

Implements

IComparable.T..CompareTo(T)

Reference

NotificationSettings Class

TwinCAT.Ads Namespace

NotificationSettingsPriorityComparer