Share via


HeaderCollection.IndexOf

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

 public Int32 IndexOf( 
 Header h 
 ); 

Syntax

 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 R2.

Namespace:Microsoft.Rtc.Sip

Assembly: ServerAgent (in ServerAgent.dll)

See Also

Concepts

Header

HeaderCollection