WebHeaderCollection.GetValues Method (String)

 

Gets an array of header values stored in a header.

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

override GetValues : 
        header:string -> string[]

Parameters

header
Type: System.String

The header to return.

Return Value

Type: System.String[]

An array of header strings.

GetValues returns the contents of the specified header as an array.

The following example uses the GetValues method to retrieve an array of values for each header in the WebHeaderCollection.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: