Share via


MobileServiceCollectionView<T>.ICollection<Object>.Remove Method

Removes the first occurrence of a specific object from the collection.

Namespace:  Microsoft.WindowsAzure.MobileServices
Assembly:  Microsoft.WindowsAzure.MobileServices.Managed (in Microsoft.WindowsAzure.MobileServices.Managed.dll)

Syntax

'Declaration
Private Function Remove ( _
    item As Object _
) As Boolean Implements ICollection(Of Object).Remove
'Usage
Dim instance As MobileServiceCollectionView 
Dim item As Object 
Dim returnValue As Boolean 

returnValue = CType(instance, ICollection(Of Object)).Remove(item)
bool ICollection<Object>.Remove(
    Object item
)
private:
virtual bool Remove(
    Object^ item
) sealed = ICollection<Object^>::Remove
private abstract Remove : 
        item:Object -> bool  
private override Remove : 
        item:Object -> bool
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • item
    Type: System.Object
    The object to remove from the collection.

Return Value

Type: System.Boolean
True when the item was removed from the collection; otherwise false.

Implements

ICollection<T>.Remove(T)

See Also

Reference

MobileServiceCollectionView<T> Class

Microsoft.WindowsAzure.MobileServices Namespace