Determines the index of a specific item in the list.

Namespace:  Microsoft.Rtc.Sip
Assembly:  ServerAgent(in ServerAgent.dll)

Syntax

Visual Basic (declaration)
Public 
Function 
IndexOf ( _
	
r 
As 

Response _
) 
As 
Integer
Visual Basic (usage)
Dim 
instance 
As 

ResponseCollection
Dim 
r 
As 

Response
Dim 
returnValue 
As 
Integer

returnValue = instance.
IndexOf(
r)
C#
public 
int 
IndexOf(
	

Response 
r
)

Return value

Type: System . . :: . . Int32

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

See also