CanonicalizationStrategy.GetStandardHeaderValue Method
From 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.]
Gets the value of a standard HTTP header.
Gets the value of a standard HTTP 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 String returnValue = CanonicalizationStrategy.GetStandardHeaderValue(headers, headerName) |
Syntax
| Visual Basic |
|---|
Protected Shared Function GetStandardHeaderValue ( _ headers As NameValueCollection, _ headerName As String _ ) As String |
| C# |
|---|
protected static string GetStandardHeaderValue ( NameValueCollection headers, string headerName ) |
| C++ |
|---|
protected: static String^ GetStandardHeaderValue ( NameValueCollection^ headers, String^ headerName ) |
| J# |
|---|
| JScript |
|---|
Parameters
- headers
Type: System.Collections.Specialized.NameValueCollection
The collection of headers.
- headerName
Type: System.String
The name of the header.
Return Value
Type: System.String
The header value.
Remarks
For more details about this API, see the topics on the equivalent REST APIs in See Also > Other Resources.
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.