Share via


Item Property

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

Returns the string value for the header.

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

Syntax

'Declaration
Public ReadOnly Property Item ( _
    header As String _
) As String
public string this[
    string header
] { get; }
public:
property String^ Item[String^ header] {
    String^ get (String^ header);
}
member Item : 
        header:string -> string with get
JScript does not support indexed properties.

Parameters

Property Value

Type: System. . :: . .String
A string containing the value. If no value is present, returns nullNothingnullptrunita null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

WebHeaderCollection Class

System.Net Namespace