SearchFilter.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
Create(FormattableString)
- Source:
- SearchFilter.cs
- Source:
- SearchFilter.cs
Create an OData filter expression from an interpolated string. The interpolated values will be quoted and escaped as necessary.
public static string Create (FormattableString filter);
static member Create : FormattableString -> string
Public Shared Function Create (filter As FormattableString) As String
Parameters
- filter
- FormattableString
An interpolated filter string.
Returns
A valid OData filter expression.
Applies to
Create(FormattableString, IFormatProvider)
- Source:
- SearchFilter.cs
- Source:
- SearchFilter.cs
Create an OData filter expression from an interpolated string. The interpolated values will be quoted and escaped as necessary.
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
Parameters
- filter
- FormattableString
An interpolated filter string.
- formatProvider
- IFormatProvider
Format provider used to convert values to strings. InvariantCulture is used as a default.
Returns
A valid OData filter expression.