EventQueueName.CompareTo Method

Definition

Compares the current EventQueueName with the specified object.

Overloads

CompareTo(Object)

Compares the current EventQueueName to the specified EventQueueName.

CompareTo(EventQueueName)

Compares the current EventQueueName to the specified EventQueueName.

CompareTo(Object)

Compares the current EventQueueName to the specified EventQueueName.

public int CompareTo (object toCompare);

Parameters

toCompare
Object

The Object to compare with the current EventQueueName.

Returns

A 32-bit signed integer that indicates the whether the comparands match. -1 indicates that the current EventQueueName and the specified object do not match; 0 indicates that the EventQueueName and the specified object match.

Implements

Remarks

If toCompare is not of type EventQueueName, CompareTo returns -1.

Applies to

.NET Framework 4.8.1 og andre versjoner
Produkt Versjoner
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

CompareTo(EventQueueName)

Compares the current EventQueueName to the specified EventQueueName.

public int CompareTo (System.Workflow.Activities.EventQueueName eventQueueName);

Parameters

eventQueueName
EventQueueName

The EventQueueName to compare with the current EventQueueName.

Returns

A 32-bit signed integer that indicates the whether the comparands match. -1 indicates that the two EventQueueName objects do not match; 0 indicates that the two EventQueueName objects match.

Applies to

.NET Framework 4.8.1 og andre versjoner
Produkt Versjoner
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1