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.
ResponseCollection.IndexOf
The IndexOf method returns the index of a specified Response_OCS_ServerApi 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_OCS_ServerApi 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)