NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IDictionary.Contains

When implemented by a class, determines whether the IDictionary contains an entry with the specified key.

[Visual Basic]
Function Contains( _
   ByVal key As Object _
) As Boolean
[C#]
bool Contains(
   object key
);
[C++]
bool Contains(
   Object* key
) = 0;
[JScript]
function Contains(
   key : Object
) : Boolean;

Parameters

key
The key to locate in the IDictionary.

Return Value

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

Exceptions

Exception Type Condition
ArgumentNullException key is a null reference object.

See Also

IDictionary Interface | IDictionary Members | System.Collections Namespace