Udostępnij za pośrednictwem


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

 

Applies To: Dynamics CRM 2015

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)

Syntax

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

Parameters

Return Value

Type: System.Boolean

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

See Also

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

Return to top

© 2016 Microsoft. All rights reserved. Copyright