EventQueueName.CompareTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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:
virtual int CompareTo(System::Object ^ toCompare);
public int CompareTo (object toCompare);
abstract member CompareTo : obj -> int
override this.CompareTo : obj -> int
Public Function CompareTo (toCompare As Object) As Integer
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
CompareTo(EventQueueName)
Compares the current EventQueueName to the specified EventQueueName.
public:
int CompareTo(System::Workflow::Activities::EventQueueName ^ eventQueueName);
public int CompareTo (System.Workflow.Activities.EventQueueName eventQueueName);
member this.CompareTo : System.Workflow.Activities.EventQueueName -> int
Public Function CompareTo (eventQueueName As EventQueueName) As Integer
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