次の方法で共有


StreamContent.TryComputeLength Method

This member overrides HttpContent.TryComputeLength(Int64).

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

Syntax

'Declaration
Protected Friend Overrides Function TryComputeLength ( _
    <OutAttribute> ByRef length As Long _
) As Boolean
'Usage
Dim length As Long 
Dim returnValue As Boolean 

returnValue = Me.TryComputeLength(length)
protected internal override bool TryComputeLength(
    out long length
)
protected public:
virtual bool TryComputeLength(
    [OutAttribute] long long% length
) override
abstract TryComputeLength : 
        length:int64 byref -> bool  
override TryComputeLength : 
        length:int64 byref -> bool
override function TryComputeLength(
    length : long
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

See Also

Reference

StreamContent Class

System.Net.Http Namespace