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

Determines whether the collection contains a specific value.

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

Syntax

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

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

Parameters

Return Value

Type: System.Boolean
True when the item is found; otherwise false.

Implements

ICollection<T>.Contains(T)

See Also

Reference

MobileServiceCollectionView<T> Class

Microsoft.WindowsAzure.MobileServices Namespace