StepResult.CompareTo(StepResult) Method

Definition

Compares this instance of the StepResult object with another specified StepResult object and indicates whether this instance precedes, follows, or appears in the same position in the StepResult.ResultCode order as the specified StepResult object. The order of the possible StepResult.ResultCode values from first to last is Failure, Warning, Success, Complete, and NoResult.

public int CompareTo (Microsoft.Hpc.Diagnostics.Helpers.StepResult other);
abstract member CompareTo : Microsoft.Hpc.Diagnostics.Helpers.StepResult -> int
override this.CompareTo : Microsoft.Hpc.Diagnostics.Helpers.StepResult -> int
Public Function CompareTo (other As StepResult) As Integer

Parameters

other
StepResult

Returns

An Int32 object that indicates whether this instance precedes, follows, or appears in the same position in the StepResult.ResultCode order as the specified StepResult object.A value of less than zero indicates that this instance precedes the specified StepResult object in StepResult.ResultCode order. Zero indicates that this instance appears in the same position as the specified StepResult object in StepResult.ResultCode order. A value of greater than zero indicates that this instance follows the specified StepResult object in StepResult.ResultCode order.

Implements

Applies to