IObjectStorageMetadataProcessorProcessMetadata Method |
Extracts metadata information from a collection of HTTP headers. The returned collection
may include multiple types of metadata information. The keys of the collection represent
the type of metadata, and the values are key-value collections of the corresponding
metadata.
Namespace: net.openstack.CoreAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax Dictionary<string, Dictionary<string, string>> ProcessMetadata(
IList<HttpHeader> httpHeaders
)
Function ProcessMetadata (
httpHeaders As IList(Of HttpHeader)
) As Dictionary(Of String, Dictionary(Of String, String))
Dictionary<String^, Dictionary<String^, String^>^>^ ProcessMetadata(
IList<HttpHeader^>^ httpHeaders
)
abstract ProcessMetadata :
httpHeaders : IList<HttpHeader> -> Dictionary<string, Dictionary<string, string>>
Parameters
- httpHeaders
- Type: System.Collections.GenericIListHttpHeader
The collection of HTTP headers.
Return Value
Type:
DictionaryString,
DictionaryString,
StringThe metadata.
Exceptions Exception | Condition |
---|
ArgumentNullException | If httpHeaders is . |
ArgumentException |
If httpHeaders contains any values.
-or- If httpHeaders contains any values with a null or empty Key. -or- If httpHeaders contains two headers with equivalent values for Key when compared using OrdinalIgnoreCase. |
Remarks Notes to Implementers |
---|
The resulting metadata dictionaries should use the OrdinalIgnoreCase
equality comparer to ensure lookups are not case sensitive.
|
Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also