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 override string[] GetValues(
	int 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