DataCollection<TKey, TValue>.ContainsKey Method (TKey)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Determines whether the DataCollection<TKey, TValue> contains a specific key value.
Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
public bool ContainsKey(
TKey key
)
Public Function ContainsKey (
key As TKey
) As Boolean
Parameters
key
Type: TKeyType: TKey. The key to locate in the collection.
Return Value
Type: System.Boolean
Type: Boolean
true if item is found in the DataCollection<TKey, TValue>; otherwise, false.
See Also
DataCollection<TKey, TValue> Class
Microsoft.Xrm.Sdk Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright