Back to product page

Contains method


Determines whether the collection contains a specific value.

Type

Boolean

Syntax

  • C#
  • VB.NET
Boolean Contains(WebUser Item);
The Contains(Item) syntax has these parts:
ItemSession object to locate in the collection.
Return valueTrue if item is found, False otherwise.

Function Contains(ByVal Item As WebUser) As Boolean
The Contains(Item) syntax has these parts:
ItemSession object to locate in the collection.
Return valueTrue if item is found, False otherwise.

Remarks

Used for checking if a specific Session object exists in collection.

Platforms

Windows