GetValues Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets an array of header values stored in a header.
Namespace: System.Net
Assembly: System.Http (in System.Http.dll)
Syntax
'Declaration
Public Function GetValues ( _
header As String _
) As String()
public string[] GetValues(
string header
)
public:
array<String^>^ GetValues(
String^ header
)
member GetValues :
header:string -> string[]
public function GetValues(
header : String
) : String[]
Parameters
- header
Type: System. . :: . .String
The header to return.
Return Value
Type: array<System. . :: . .String> [] () [] []
An array of header strings.
Remarks
GetValues returns the contents of the specified header as an array.
.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.