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
- header
Type: System. . :: . .String
The name of the header.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.