Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the stream content has a valid length in bytes.
Namespace: System.Net.Http
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
'Declaration
Protected Overrides Function TryComputeLength ( _
<OutAttribute> ByRef length As Long _
) As Boolean
'Usage
Dim length As Long
Dim returnValue As Boolean
returnValue = Me.TryComputeLength(length)
protected override bool TryComputeLength(
out long length
)
protected:
virtual bool TryComputeLength(
[OutAttribute] long long% length
) override
abstract TryComputeLength :
length:int64 byref -> bool
override TryComputeLength :
length:int64 byref -> bool
protected override function TryComputeLength(
length : long
) : boolean
Parameters
length
Type: System.Int64%The length in bytes of the stream content.
Return Value
Type: System.Boolean
true if length is a valid length; otherwise, false.