System.Net.WebHeaderCollection.GetValues Method

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

Syntax

public override string[] GetValues (int index)

Parameters

index
The header index to return.

Returns

An array of header strings.

Remarks

WebHeaderCollection.GetValues(int) returns the contents of the specified header as an array.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0