WebHeaderCollection.GetValues Method (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
)

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: