ContentLength Property
Collapse the table of content
Expand the table of content

WebRequest.ContentLength Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

When overridden in a descendant class, gets or sets the content length of the request data being sent.

Namespace:  System.Net
Assembly:  System.Net (in System.Net.dll)

'Declaration
Public Overridable Property ContentLength As Long

Property Value

Type: System.Int64
The number of bytes of request data being sent.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft