public interface IHttpHeader : IDictionary<string, string>,
ICollection<KeyValuePair<string, string>>, IEnumerable<KeyValuePair<string, string>>,
IEnumerable
Public Interface IHttpHeader
Inherits IDictionary(Of String, String), ICollection(Of KeyValuePair(Of String, String)),
IEnumerable(Of KeyValuePair(Of String, String)), IEnumerable
type IHttpHeader =
interface
interface IDictionary<string, string>
interface ICollection<KeyValuePair<string, string>>
interface IEnumerable<KeyValuePair<string, string>>
interface IEnumerable
end
Count | Gets the number of elements contained in the ICollectionT. (继承自 ICollectionKeyValuePairString, String。) |
IsReadOnly | Gets a value indicating whether the ICollectionT is read-only. (继承自 ICollectionKeyValuePairString, String。) |
ItemHttpHeaders | 获取、添加Header |
ItemTKey | Gets or sets the element with the specified key. (继承自 IDictionaryString, String。) |
Keys | Gets an ICollectionT containing the keys of the IDictionaryTKey, TValue. (继承自 IDictionaryString, String。) |
Values | Gets an ICollectionT containing the values in the IDictionaryTKey, TValue. (继承自 IDictionaryString, String。) |
Add(T) | Adds an item to the ICollectionT. (继承自 ICollectionKeyValuePairString, String。) |
Add(HttpHeaders, String) | 添加Header |
Add(TKey, TValue) | Adds an element with the provided key and value to the IDictionaryTKey, TValue. (继承自 IDictionaryString, String。) |
Clear | Removes all items from the ICollectionT. (继承自 ICollectionKeyValuePairString, String。) |
Contains | Determines whether the ICollectionT contains a specific value. (继承自 ICollectionKeyValuePairString, String。) |
ContainsKey | Determines whether the IDictionaryTKey, TValue contains an element with the specified key. (继承自 IDictionaryString, String。) |
CopyTo | Copies the elements of the ICollectionT to an Array, starting at a particular Array index. (继承自 ICollectionKeyValuePairString, String。) |
Get(HttpHeaders) | 获取Header |
Get(String) | 获取Header |
GetEnumerator | Returns an enumerator that iterates through the collection. (继承自 IEnumerableKeyValuePairString, String。) |
Remove(T) | Removes the first occurrence of a specific object from the ICollectionT. (继承自 ICollectionKeyValuePairString, String。) |
Remove(TKey) | Removes the element with the specified key from the IDictionaryTKey, TValue. (继承自 IDictionaryString, String。) |
TryGetValue | Gets the value associated with the specified key. (继承自 IDictionaryString, String。) |
ForEachKeyValuePairString, String |
循环遍历每个元素,执行Action动作
(由 CollectionsExtension 定义。) |
ForEachAsyncKeyValuePairString, String |
循环遍历每个元素,执行异步动作
(由 CollectionsExtension 定义。) |