HeaderCollection.Contains(Header) Method

Definition

The Contains method determines whether the specific header exists in the collection.

public:
 bool Contains(Microsoft::Rtc::Sip::Header ^ h);
public bool Contains (Microsoft.Rtc.Sip.Header h);
Public Function Contains (h As Header) As Boolean

Parameters

h
Header

Returns

Remarks

This method searches for a specific header object, not the header type. There may be multiple distinct headers within the collection that share the same header type. This method will return true only if an exact match (same header type, value, parameter list) is found.

The match is not case-sensitive.

Applies to