HeaderCollection.IndexOf

HeaderCollection.IndexOf

The IndexOf method returns the index of a specified Header object within the collection.

Syntax

[C#]

public Int32 IndexOf(
  Header h
);

Syntax

[Visual Basic .NET]

Public Function IndexOf( _
  ByVal h As Header _
) As Int32

Parameters

  • h
    Specifies the Header object whose index will be retrieved.

Return Values

Returns the index at which the specified Header object was found. If the object was not found, the method returns -1.

Requirements

Redistributable: Requires Microsoft Lync Server 2010

Namespace:Microsoft.Rtc.Sip

Assembly: ServerAgent (in ServerAgent.dll)

See Also

Concepts

Header

HeaderCollection