Partager via


IDictionary.Contains Method

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

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)

Syntax

public bool Contains (
         Objectkey
)

Parameters

  • key
    The key to locate in the IDictionary object.

Return Value

true if the specified Object was found in the IDictionary collection; otherwise, false.

Version Information

Available in the .NET Micro Framework version 4.1.

See Also

Reference

IDictionary Interface
IDictionary Members
System.Collections Namespace