DynamicType.IDictionary.Contains Method
Checks whether the collection contains an item with the specified key.
Namespace: Microsoft.BusinessData.Runtime
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Private Function Contains ( _
key As Object _
) As Boolean Implements IDictionary.Contains
'Usage
Dim instance As DynamicType
Dim key As Object
Dim returnValue As Boolean
returnValue = CType(instance, IDictionary).Contains(key)
boolIDictionary.Contains(
Object key
)
Parameters
key
Type: System.ObjectThe key of the item to check.
Return Value
Type: System.Boolean
true if the item is found; otherwise, false.