Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SynchronizedHashtable.Contains Method

Determines whether the IDictionary object contains an element with the specified key.

[Visual Basic]
Public NotOverridable Sub Contains( _
   ByVal key As Object _
) _
    Implements IDictionary.Contains
[C#]
public bool Contains(
   object key
);

Parameters

key
The key to locate in the IDictionary object.

Return Value

true if the IDictionary contains an element with the key; otherwise, false.

Implements

IDictionary.Contains

Exceptions

Exception Type Condition
ArgumentNullException key is null.

See Also

SynchronizedHashtable Class | Spring.Collections Namespace