HttpHeaderValueCollection<T> Class

Represents a collection of header values.

Inheritance Hierarchy

System.Object
  System.Net.Http.Headers.HttpHeaderValueCollection<T>

Namespace:  System.Net.Http.Headers
Assembly:  System.Net.Http (in System.Net.Http.dll)

Syntax

'Declaration
Public NotInheritable Class HttpHeaderValueCollection(Of T As Class) _
    Implements ICollection(Of T), IEnumerable(Of T),  _
    IEnumerable
'Usage
Dim instance As HttpHeaderValueCollection(Of T)
public sealed class HttpHeaderValueCollection<T> : ICollection<T>, 
    IEnumerable<T>, IEnumerable 
where T : class
generic<typename T>
where T : ref class 
public ref class HttpHeaderValueCollection sealed : ICollection<T>, 
    IEnumerable<T>, IEnumerable
[<SealedAttribute>]
type HttpHeaderValueCollection<'T when 'T : not struct> =  
    class 
        interface ICollection<'T>
        interface IEnumerable<'T>
        interface IEnumerable 
    end
JScript does not support generic types and methods.

Type Parameters

  • T

The HttpHeaderValueCollection<T> type exposes the following members.

Properties

  Name Description
Public property Count Gets {insert text here}.
Public property IsReadOnly Gets {insert text here}.

Top

Methods

  Name Description
Public method Add
Public method Clear
Public method Contains
Public method CopyTo
Public method Equals (Inherited from Object.)
Public method GetEnumerator
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ParseAdd
Public method Remove
Public method ToString (Overrides Object.ToString().)
Public method TryParseAdd

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator

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.

See Also

Reference

System.Net.Http.Headers Namespace