ProtocolVersion.LessEquals(ProtocolVersion) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tests if this protocol version is less or equal to the given one.
[Android.Runtime.Register("lessEquals", "(Lorg/apache/http/ProtocolVersion;)Z", "")]
public bool LessEquals(Org.Apache.Http.ProtocolVersion? version);
[<Android.Runtime.Register("lessEquals", "(Lorg/apache/http/ProtocolVersion;)Z", "")>]
member this.LessEquals : Org.Apache.Http.ProtocolVersion -> bool
Parameters
- version
- ProtocolVersion
the version against which to check this version
Returns
true if the protocol names match and this version is at most version; otherwise, false, including when version is null.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.