ResponseCollection.IndexOf

ResponseCollection.IndexOf

The IndexOf method returns the index of a specified Response Sip Class object within the collection.

Syntax

[C#]

public Int32 IndexOf(
  Response r
);

Syntax

[Visual Basic .NET]

Public Function IndexOf( _
  ByVal r As Response _
) As Int32

Parameters

  • r
    Specifies the Response object whose index within the collection will be returned.

Return Values

Returns the index at which the specified Response Sip Class 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

Response Sip Class

ResponseCollection