Determines whether the collection contains an element with the specified key.

Namespace: BlueCieloECM.InnoCielo.Meridian.Server
Assembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 1.4.0.0 (1.4.40.0)

Syntax

C#
public bool Contains(
	string key
)
Visual Basic
Public Function Contains ( _
	key As String _
) As Boolean
Visual C++
public:
bool Contains(
	String^ key
)

Parameters

key
Type: System..::..String
The key to locate in the collection: either the ID property value, or the Name property value, or the DisplayName property value of the element to get.

Return Value

trueTruetruetrue (True in Visual Basic) if the collection contains an element with the specified key; otherwise, falseFalsefalsefalse (False in Visual Basic).

See Also