Filters a query based upon the predicate provided.
Namespace: Parse
Assembly: Parse (in Parse.dll) Version: 1.5.5.0 (1.5.5.0)
Syntax
public static ParseQuery<TSource> Where<TSource>( this ParseQuery<TSource> source, Expression<Func<TSource, bool>> predicate ) where TSource : ParseObject
Parameters
- source
- Type: ParseParseQueryTSource
The base ParseQueryT to which the predicate will be added. - predicate
- Type: System.Linq.ExpressionsExpressionFuncTSource, Boolean
A function to test each ParseObject for a condition. The predicate must be able to be represented by one of the standard Where functions on ParseQuery
Type Parameters
- TSource
- The type of ParseObject being queried for.
Return Value
Type: ParseQueryTSourceA new ParseQuery whose results will match the given predicate as well as the source's filters.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ParseQueryTSource. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also