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)

abstract TryComputeLength : 
        length:int64 byref -> bool  
override TryComputeLength : 
        length:int64 byref -> bool


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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft