你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ODataQuery<T>.SetFilter(Expression<Func<T,Boolean>>) 方法

定义

设置表达式的 Filter。

public void SetFilter (System.Linq.Expressions.Expression<Func<T,bool>> filter);
member this.SetFilter : System.Linq.Expressions.Expression<Func<'T, bool>> -> unit
Public Sub SetFilter (filter As Expression(Of Func(Of T, Boolean)))

参数

filter
Expression<Func<T,Boolean>>

筛选器表达式。

适用于