次の方法で共有


URLConnection.ContentLengthLong Property

Definition

Returns the value of the content-length header field as a long.

public virtual long ContentLengthLong { [Android.Runtime.Register("getContentLengthLong", "()J", "GetGetContentLengthLongHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getContentLengthLong", "()J", "GetGetContentLengthLongHandler", ApiSince=24)>]
member this.ContentLengthLong : int64

Property Value

the content length of the resource that this connection's URL references, or -1 if the content length is not known.

Attributes

Remarks

Returns the value of the content-length header field as a long.

Added in 7.0.

Java documentation for java.net.URLConnection.getContentLengthLong().

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