FilterAttribute Class

Definition

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.

Applies to