Determines the index of a specific item in the list.
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 ) |
Parameters
Return value
Type: System . . :: . . Int32Returns the index at which the specified Response object was found. If the object was not found, the method returns ----1.