Back to product page

Contains method


Determines whether the collection contains a specific value.

Type

Boolean

Syntax

  • C#
  • VB.NET
Boolean Contains(String Name);
The Contains(Name) syntax has these parts:
NameName of session variable in the collection.
Return valueTrue if item is found, False otherwise.

Function Contains(ByVal Name As String) As Boolean
The Contains(Name) syntax has these parts:
NameName of session variable in the collection.
Return valueTrue if item is found, False otherwise.

Platforms

Windows