Share via


HttpHeaderValueCollection<T>.Contains Method

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

Syntax

'Declaration
Public Function Contains ( _
    item As T _
) As Boolean
'Usage
Dim instance As HttpHeaderValueCollection 
Dim item As T
Dim returnValue As Boolean 

returnValue = instance.Contains(item)
public bool Contains(
    T item
)
public:
virtual bool Contains(
    T item
) sealed
abstract Contains : 
        item:'T -> bool  
override Contains : 
        item:'T -> bool
public final function Contains(
    item : T
) : boolean

Parameters

  • item
    Type: T

Return Value

Type: System.Boolean
Returns Boolean.

Implements

ICollection<T>.Contains(T)

See Also

Reference

HttpHeaderValueCollection<T> Class

System.Net.Http.Headers Namespace