EventQueueName.CompareTo Método

Definição

Compara o EventQueueName atual com o objeto especificado.Compares the current EventQueueName with the specified object.

Sobrecargas

CompareTo(Object)

Compara o EventQueueName atual com o EventQueueName especificado.Compares the current EventQueueName to the specified EventQueueName.

CompareTo(EventQueueName)

Compara o EventQueueName atual com o EventQueueName especificado.Compares the current EventQueueName to the specified EventQueueName.

CompareTo(Object)

Compara o EventQueueName atual com o EventQueueName especificado.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

Parâmetros

toCompare
Object

O Object a ser comparado com o EventQueueName atual.The Object to compare with the current EventQueueName.

Retornos

Int32

Um inteiro com sinal de 32 bits que indica se os termos de comparação correspondem.A 32-bit signed integer that indicates the whether the comparands match. -1 indica que o EventQueueName atual e o objeto especificado não correspondem; 0 indica que o EventQueueName e o objeto especificado correspondem.-1 indicates that the current EventQueueName and the specified object do not match; 0 indicates that the EventQueueName and the specified object match.

Implementações

Comentários

Se toCompare não for do tipo EventQueueName , CompareTo retornará-1.If toCompare is not of type EventQueueName, CompareTo returns -1.

Aplica-se a

CompareTo(EventQueueName)

Compara o EventQueueName atual com o EventQueueName especificado.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

Parâmetros

eventQueueName
EventQueueName

O EventQueueName a ser comparado com o EventQueueName atual.The EventQueueName to compare with the current EventQueueName.

Retornos

Int32

Um inteiro com sinal de 32 bits que indica se os termos de comparação correspondem.A 32-bit signed integer that indicates the whether the comparands match. -1 indica que os dois objetos EventQueueName não correspondem; 0 indica que os dois objetos EventQueueName correspondem.-1 indicates that the two EventQueueName objects do not match; 0 indicates that the two EventQueueName objects match.

Aplica-se a