MobileServiceCollectionView<T>.Contains Method

Determines whether the collection contains a given element.

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

Syntax

'Declaration
Public Function Contains ( _
    item As T _
) As Boolean
'Usage
Dim instance As MobileServiceCollectionView 
Dim item As T
Dim returnValue As Boolean 

returnValue = instance.Contains(item)
public bool Contains(
    T item
)
public:
bool Contains(
    T item
)
member Contains : 
        item:'T -> bool
public function Contains(
    item : T
) : boolean

Parameters

  • item
    Type: T
    The element to check for.

Return Value

Type: System.Boolean
Whether the collection contains the element.

See Also

Reference

MobileServiceCollectionView<T> Class

Microsoft.WindowsAzure.MobileServices Namespace