Share via


HttpContentHeaders.ContentLength Property

Gets or sets {insert text here}.

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

Syntax

'Declaration
Public Property ContentLength As Nullable(Of Long)
    Get 
    Set
'Usage
Dim instance As HttpContentHeaders 
Dim value As Nullable(Of Long)

value = instance.ContentLength

instance.ContentLength = value
public Nullable<long> ContentLength { get; set; }
public:
property Nullable<long long> ContentLength {
    Nullable<long long> get ();
    void set (Nullable<long long> value);
}
member ContentLength : Nullable<int64> with get, set
function get ContentLength () : Nullable<long>
function set ContentLength (value : Nullable<long>)

Property Value

Type: System.Nullable<Int64>

See Also

Reference

HttpContentHeaders Class

System.Net.Http.Headers Namespace