Method CompareTo
CompareTo(Object)
Compares the ServerInfo on the basis of priority
Declaration
public int CompareTo(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Int32 | 0 if equals, -1 if lesser and 1 if greater than the comparing serverInfo |