WebHeaderCollection.GetValues Method (Int32)

 

Gets an array of header values stored in the index position of the header collection.

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

Public Overrides Function GetValues (
	index As Integer
) As String()

Parameters

index
Type: System.Int32

The header index to return.

Return Value

Type: System.String()

An array of header strings.

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

.NET Framework
Available since 1.1
Return to top
Show: