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:
virtual array<String^>^ GetValues(
	int index
) override

Parameters

index
Type: System::Int32

The header index to return.

Return Value

Type: array<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: