Org.Apache.Http.ProtocolVersion.CompareToVersion Method
Compares this protocol version with another one.

Syntax

[Android.Runtime.Register("compareToVersion", "(Lorg/apache/http/ProtocolVersion;)I", "GetCompareToVersion_Lorg_apache_http_ProtocolVersion_Handler")]
public virtual int CompareToVersion (ProtocolVersion that)

Parameters

that
the protocl version to compare with

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif the argument has a different protocol name than this object, or if the argument is null

Remarks

Compares this protocol version with another one. Only protocol versions with the same protocol name can be compared. This method does not define a total ordering, as it would be required for Java.Lang.IComparable.

[Android Documentation]

Requirements

Namespace: Org.Apache.Http
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1