Condividi tramite


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

Return Value

Type: System.Boolean
true if the item is found; otherwise, false.

Implements

IDictionary.Contains(Object)

See Also

Reference

DynamicType Class

DynamicType Members

Microsoft.BusinessData.Runtime Namespace