Share via


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

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

See Also

Reference

WebHeaderCollection Class

System.Net Namespace