DataCollection<TKey, TValue>.Contains Method (KeyValuePair<TKey, TValue>)

 

Applies To: Dynamics CRM 2015

Determines whether the DataCollection<TKey, TValue> contains a specific value.

Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

public bool Contains(
    KeyValuePair<TKey, TValue> key
)
public:
bool Contains(
    KeyValuePair<TKey, TValue> key
)
member Contains : 
        key:KeyValuePair<'TKey, 'TValue> -> bool
Public Function Contains (
    key As KeyValuePair(Of TKey, TValue)
) As Boolean

Parameters

Return Value

Type: System.Boolean

Type: Boolean
true if item is found in the DataCollection<TKey, TValue>; otherwise, false.

See Also

Contains Overload
DataCollection<TKey, TValue> Class
Microsoft.Xrm.Sdk Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright