你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SearchFilter.Create 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Create(FormattableString) |
从内插字符串创建 OData 筛选器表达式。 内插值将根据需要进行引号和转义。 |
Create(FormattableString, IFormatProvider) |
从内插字符串创建 OData 筛选器表达式。 内插值将根据需要进行引号和转义。 |
Create(FormattableString)
- Source:
- SearchFilter.cs
- Source:
- SearchFilter.cs
从内插字符串创建 OData 筛选器表达式。 内插值将根据需要进行引号和转义。
public static string Create (FormattableString filter);
static member Create : FormattableString -> string
Public Shared Function Create (filter As FormattableString) As String
参数
- filter
- FormattableString
内插筛选器字符串。
返回
有效的 OData 筛选器表达式。
适用于
Create(FormattableString, IFormatProvider)
- Source:
- SearchFilter.cs
- Source:
- SearchFilter.cs
从内插字符串创建 OData 筛选器表达式。 内插值将根据需要进行引号和转义。
public static string Create (FormattableString filter, IFormatProvider formatProvider);
static member Create : FormattableString * IFormatProvider -> string
Public Shared Function Create (filter As FormattableString, formatProvider As IFormatProvider) As String
参数
- filter
- FormattableString
内插筛选器字符串。
- formatProvider
- IFormatProvider
用于将值转换为字符串的格式提供程序。 InvariantCulture 用作默认值。
返回
有效的 OData 筛选器表达式。