다음을 통해 공유


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

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

Applies to