Share via


ODataBatchOperationHeaders Class

Definition

A dictionary for storing headers to be used with ODataBatchOperations.

public sealed class ODataBatchOperationHeaders : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>>
type ODataBatchOperationHeaders = class
    interface seq<KeyValuePair<string, string>>
    interface IEnumerable
Public NotInheritable Class ODataBatchOperationHeaders
Implements IEnumerable(Of KeyValuePair(Of String, String))
Inheritance
ODataBatchOperationHeaders
Implements

Remarks

As an implementation choice we did not use a second dictionary to maintain a cache of case-insensitive keys since we don't want to pay the price of an extra dictionary for cases where the looked up keys match case sensitively (as per spec, should be the default case).

Constructors

ODataBatchOperationHeaders()

Constructor.

Properties

Item[String]

Gets or sets the element with the specified key.

Methods

Add(String, String)

Adds an element with the provided key and value to the dictionary.

ContainsKeyOrdinal(String)

Determines whether the dictionary contains an element with the specified key.

GetEnumerator()

Returns an enumerator that iterates through the collection.

Remove(String)

Removes the resource with the specified key from the headers.

TryGetValue(String, String)

Gets the value associated with the specified key.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to