Share via


This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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 Office Communications Server 2007.

Namespace:Microsoft.Rtc.Sip Namespace

Assembly: ServerAgent (in ServerAgent.dll)

Concepts

Header

HeaderCollection