FilterAttribute Class
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.
Represents an Attribute that can be placed on a class or property correlate to OData's $filter query option settings.
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=true)]
public sealed class FilterAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=true)>]
type FilterAttribute = class
inherit Attribute
Public NotInheritable Class FilterAttribute
Inherits Attribute
- Inheritance
-
FilterAttribute
- Attributes
Constructors
FilterAttribute() |
Initializes a new instance of the FilterAttribute class. |
FilterAttribute(String[]) |
Initializes a new instance of the FilterAttribute class with the name of allowed $filter properties. |
Properties
Disabled |
Represents whether the $filter can be applied on those properties. |
FilterConfigurations |
Gets or sets the $filter configuration of properties. |