CanonicalizationStrategy.GetHeaderValues Method

Storage Client Library NET API

[This topic is part of the Microsoft Azure Storage Client Library 1.7, which has been deprecated. See Storage Client Library for the latest version.]

Returns an ArrayList of HTTP header values for a named header.

Namespace: Microsoft.WindowsAzure.StorageClient.Protocol
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)

Usage

Visual Basic
Dim headers As NameValueCollection
Dim headerName As String
Dim returnValue As ArrayList

returnValue = CanonicalizationStrategy.GetHeaderValues(headers, headerName)

Syntax

Visual Basic
Protected Shared Function GetHeaderValues ( _
	headers As NameValueCollection, _
	headerName As String _
) As ArrayList
C#
protected static ArrayList GetHeaderValues (
	NameValueCollection headers,
	string headerName
)
C++
protected:
static ArrayList^ GetHeaderValues (
	NameValueCollection^ headers, 
	String^ headerName
)
J#
JScript

Parameters

headers

Type: System.Collections.Specialized.NameValueCollection

A collection of HTTP headers as name-values pairs.

headerName

Type: System.String

The name of the header to return.

Return Value

Type: System.Collections.ArrayList

An ArrayList of HTTP header values, stored in the same order as they appear in the collection.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

See Also