Language

IHttpEntity.ContentLength Property

Definition

Tells the length of the content, if known.

public long ContentLength { [Android.Runtime.Register("getContentLength", "()J", "GetGetContentLengthHandler:Org.Apache.Http.IHttpEntityInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("getContentLength", "()J", "GetGetContentLengthHandler:Org.Apache.Http.IHttpEntityInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.ContentLength : int64

Property Value

The content length in bytes, or a negative number if the length is unknown or exceeds MaxValue.

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.

Applies to