BackupInfo.BackupVersion.CompareTo(BackupInfo+BackupVersion) Method

Definition

Compares this instance with a specified object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified .

public int CompareTo (Microsoft.ServiceFabric.Data.BackupInfo.BackupVersion other);
abstract member CompareTo : Microsoft.ServiceFabric.Data.BackupInfo.BackupVersion -> int
override this.CompareTo : Microsoft.ServiceFabric.Data.BackupInfo.BackupVersion -> int
Public Function CompareTo (other As BackupInfo.BackupVersion) As Integer

Parameters

other
BackupInfo.BackupVersion

An object that evaluates to a .

Returns

System.Int32

A value that indicates the relative order of the objects being compared. Less than zero indicates that this instance precedes other in the sort order. Zero indicates that this instance occurs in the same position in the sort order as other. Greater than zero indicates that this instance follows other in the sort order.

Implements

System.IComparable`1.CompareTo(`0)

Applies to