HttpHeaders.GetValues Method

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

Returns all header values for a specified header stored in the HttpHeaders collection.

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

public IEnumerable<string> GetValues(
	string name
)

Parameters

name
Type: System.String
The specified header to return values for.

Return Value

Type: System.Collections.Generic.IEnumerable<String>
Returns IEnumerable<T>.
An array of header strings.
Show: