Partilhar via


HeaderCollection.Contains(Header) method

 
Microsoft Office Live Communications Server 2005 with SP1

HeaderCollection.Contains

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

[C#]
public Boolean Contains(
Header h
);

  [Visual Basic .NET]
Public Function Contains( _
  ByVal h As Header _
) As Boolean

Parameters

  • h
    The Header object to search for within the collection.

Return Values

Returns true if the header exists in the collection; false if it does not.

Remarks

Note that 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.

Requirements

Redistributable: Requires Microsoft Office Live Communications Server 2005 with SP1.
Namespace: Microsoft.Rtc.Sip
Assembly: ServerAgent (in ServerAgent.dll)

See Also

HeaderCollection.FindFirst, Header, HeaderCollection

  
  What did you think of this topic?
  © 2008 Microsoft Corporation. All rights reserved.