Share via


AllKeys Property

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

Gets all header names (keys) in the collection.

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

Syntax

'Declaration
Public ReadOnly Property AllKeys As String()
public string[] AllKeys { get; }
public:
property array<String^>^ AllKeys {
    array<String^>^ get ();
}
member AllKeys : string[] with get
function get AllKeys () : String[]

Property Value

Type: array<System. . :: . .String> [] () [] []
An array of type String containing all header names in a Web request.

.NET Framework Security

See Also

Reference

WebHeaderCollection Class

System.Net Namespace