EventQueueName.CompareTo Method
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.
CompareTo(Object) |
Compares the current EventQueueName to the specified EventQueueName. |
CompareTo(EventQueueName) |
Compares the current EventQueueName to the specified EventQueueName. |
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
.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 |
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 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 |
.NET-tilbakemelding
.NET er et åpen kilde-prosjekt. Velg en kobling for å gi tilbakemelding: