Partilhar via


HeaderCollection.FindFirst(String) method

 
Microsoft Office Live Communications Server 2005 with SP1

HeaderCollection.FindFirst

The FindFirst method finds the first occurrence of a specified header type.

[C#]
public Header FindFirst(
String type
);

  [Visual Basic .NET]
Public Function FindFirst( _
  ByVal type As String _
) As Header

Parameters

  • type
    The header type, such as "To" or "Contact". The collection will be searched for the first occurrence of this header type. The short form of a header type (such as "m" for "Contact") as defined in RFC 3261 can be used for this parameter.

Return Values

Returns a Header object containing the first occurrence of the specified header type if a match is found. If no match is found, NULL is returned.

Remarks

The match is case-sensitive.

Requirements

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

See Also

Header, HeaderCollection

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