MobileServiceTableQuery<T>.Where Method

Applies the specified filter predicate to the source query.

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

Syntax

'Declaration
Public Function Where ( _
    predicate As Expression(Of Func(Of T, Boolean)) _
) As MobileServiceTableQuery(Of T)
'Usage
Dim instance As MobileServiceTableQuery 
Dim predicate As Expression(Of Func(Of T, Boolean))
Dim returnValue As MobileServiceTableQuery(Of T)

returnValue = instance.Where(predicate)
public MobileServiceTableQuery<T> Where(
    Expression<Func<T, bool>> predicate
)
public:
MobileServiceTableQuery<T>^ Where(
    Expression<Func<T, bool>^>^ predicate
)
member Where : 
        predicate:Expression<Func<'T, bool>> -> MobileServiceTableQuery<'T> 
public function Where(
    predicate : Expression<Func<T, boolean>>
) : MobileServiceTableQuery<T>

Parameters

Return Value

Type: Microsoft.WindowsAzure.MobileServices.MobileServiceTableQuery<T>
The composed query.

See Also

Reference

MobileServiceTableQuery<T> Class

Microsoft.WindowsAzure.MobileServices Namespace