Share via


Count Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the number of headers in the collection.

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

Syntax

'Declaration
Public ReadOnly Property Count As Integer
public int Count { get; }
public:
property int Count {
    int get ();
}
member Count : int with get
function get Count () : int

Property Value

Type: System. . :: . .Int32
An Int32 indicating the number of headers in a request.

.NET Framework Security

See Also

Reference

WebHeaderCollection Class

System.Net Namespace