Share via


SearchFilter Class

Definition

The SearchFilter class is used to help construct valid OData filter expressions, like the kind used by Filter, by automatically replacing, quoting, and escaping interpolated parameters. For more information, see Filters in Azure Cognitive Search.

public static class SearchFilter
type SearchFilter = class
Public Class SearchFilter
Inheritance
SearchFilter

Methods

Create(FormattableString)

Create an OData filter expression from an interpolated string. The interpolated values will be quoted and escaped as necessary.

Create(FormattableString, IFormatProvider)

Create an OData filter expression from an interpolated string. The interpolated values will be quoted and escaped as necessary.

Applies to