共用方式為


ServiceEndpointsVersion.Compare(ServiceEndpointsVersion) Method

Definition

Compares this version with the version of other.

public int Compare (System.Fabric.ServiceEndpointsVersion other);
member this.Compare : System.Fabric.ServiceEndpointsVersion -> int
Public Function Compare (other As ServiceEndpointsVersion) As Integer

Parameters

other
ServiceEndpointsVersion

The other version to compare against.

Returns

Zero if this and other are equivalent, a negative value if this is less than other, and a positive value if this is greater than other.

Applies to