HeaderDictionary Class
.NET Framework 4.5
Represents a mapping from a set of keys to a set of values for SignalR client.
Inheritance Hierarchy
System.Object
Microsoft.AspNet.SignalR.Client.HeaderDictionary
Namespace: Microsoft.AspNet.SignalR.Client
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Syntax
'Declaration
Public Class HeaderDictionary _
Implements IDictionary(Of String, String), _
ICollection(Of KeyValuePair(Of String, String)), IEnumerable(Of KeyValuePair(Of String, String)), _
IEnumerable
'Usage
Dim instance As HeaderDictionary
public class HeaderDictionary : IDictionary<string, string>,
ICollection<KeyValuePair<string, string>>, IEnumerable<KeyValuePair<string, string>>,
IEnumerable
public ref class HeaderDictionary : IDictionary<String^, String^>,
ICollection<KeyValuePair<String^, String^>>, IEnumerable<KeyValuePair<String^, String^>>,
IEnumerable
type HeaderDictionary =
class
interface IDictionary<string, string>
interface ICollection<KeyValuePair<string, string>>
interface IEnumerable<KeyValuePair<string, string>>
interface IEnumerable
end
public class HeaderDictionary implements IDictionary<String, String>, ICollection<KeyValuePair<String, String>>, IEnumerable<KeyValuePair<String, String>>, IEnumerable
The HeaderDictionary type exposes the following members.
Constructors
Name | Description | |
---|---|---|
HeaderDictionary | Initializes a new instance of the HeaderDictionary class. |
Top
Properties
Name | Description | |
---|---|---|
Count | Gets the number of key/value pairs contained in the dictionary. | |
IsReadOnly | Gets whether the dictionary is read only. | |
Item | Gets or sets the value associated with the specified key. | |
Keys | Gets the collection of keys in the dictionary. | |
Values | Gets the collection of values in the dictionary. |
Top
Methods
Name | Description | |
---|---|---|
Add(KeyValuePair<String, String>) | Adds a specific item to the dictionary. | |
Add(String, String) | Adds a specific key/value pair to the dictionary. | |
Clear | Clears the content of the dictionary. | |
Contains | Specifies whether an item is contained in the dictionary. | |
ContainsKey | Specifies whether a specified key is contained in the dictionary. | |
CopyTo | Copies the key/value pair elements to an existing one-dimensional Array, starting at the specified array index. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Returns an enumerator that iterates through the dictionary. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Remove(KeyValuePair<String, String>) | Removes a specific key/ value pair item from the dictionary. | |
Remove(String) | Removes a specific key from the dictionary. | |
ToString | (Inherited from Object.) | |
TryGetValue | Gets the value associated with the specified key. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable.GetEnumerator | Returns an enumerator that iterates through a collection. |
Top
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.