Back to product page

IndexOf method


Determines the index of a specific Session in the collection.

Type

Integer

Syntax

  • C#
  • VB.NET
Int32 IndexOf(WebUser Item);
The IndexOf(Item) syntax has these parts:
ItemSession Object to locate in the collection.
Return valueThe index of value if found in the list; otherwise, -1.

Function IndexOf(ByVal Item As WebUser) As Int32
The IndexOf(Item) syntax has these parts:
ItemSession Object to locate in the collection.
Return valueThe index of value if found in the list; otherwise, -1.

Platforms

Windows