DataCollection<TKey, TValue>.Remove Method (TKey)

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Removes the first occurrence of a specific object from the DataCollection<TKey, TValue>.

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

public bool Remove(
	TKey key
)

Parameters

key
Type: TKey

Type: TKey. The object to remove from the DataCollection<TKey, TValue>.

Return Value

Type: System.Boolean

Type: Boolean
true if the object was found and removed; otherwise, false.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Show: