Windows apps
Collapse the table of content
Expand the table of content

ByteArrayContent::TryComputeLength Method

Determines whether a byte array has a valid length in bytes.

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

protected public:
virtual bool TryComputeLength(
	[OutAttribute] long long% length
) override

Parameters

length
Type: System::Int64%
The length in bytes of the byte array.

Return Value

Type: System::Boolean
Returns Boolean.true if length is a valid length; otherwise, false.
Show:
© 2017 Microsoft