PropertyConfiguration.Filter 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
Filter() |
Sets all properties of this property is filterable. |
Filter(QueryOptionSetting) |
Sets whether all properties of this property is filterable. |
Filter(String[]) |
Sets filterable properties of this property. |
Filter(QueryOptionSetting, String[]) |
Sets filterable properties depends on QueryOptionSetting of this property. |
Filter()
Sets all properties of this property is filterable.
public Microsoft.AspNet.OData.Builder.PropertyConfiguration Filter ();
member this.Filter : unit -> Microsoft.AspNet.OData.Builder.PropertyConfiguration
Public Function Filter () As PropertyConfiguration
Returns
Applies to
Filter(QueryOptionSetting)
Sets whether all properties of this property is filterable.
public Microsoft.AspNet.OData.Builder.PropertyConfiguration Filter (Microsoft.AspNet.OData.Query.QueryOptionSetting setting);
member this.Filter : Microsoft.AspNet.OData.Query.QueryOptionSetting -> Microsoft.AspNet.OData.Builder.PropertyConfiguration
Public Function Filter (setting As QueryOptionSetting) As PropertyConfiguration
Parameters
- setting
- QueryOptionSetting
Returns
Applies to
Filter(String[])
Sets filterable properties of this property.
public Microsoft.AspNet.OData.Builder.PropertyConfiguration Filter (params string[] properties);
member this.Filter : string[] -> Microsoft.AspNet.OData.Builder.PropertyConfiguration
Public Function Filter (ParamArray properties As String()) As PropertyConfiguration
Parameters
- properties
- String[]
Returns
Applies to
Filter(QueryOptionSetting, String[])
Sets filterable properties depends on QueryOptionSetting of this property.
public Microsoft.AspNet.OData.Builder.PropertyConfiguration Filter (Microsoft.AspNet.OData.Query.QueryOptionSetting setting, params string[] properties);
member this.Filter : Microsoft.AspNet.OData.Query.QueryOptionSetting * string[] -> Microsoft.AspNet.OData.Builder.PropertyConfiguration
Public Function Filter (setting As QueryOptionSetting, ParamArray properties As String()) As PropertyConfiguration
Parameters
- setting
- QueryOptionSetting
- properties
- String[]