Sdílet prostřednictvím


FilterAttribute Třída

Definice

Představuje objekt Attribute , který lze umístit na třídu nebo vlastnost korelující s nastavením možnosti dotazu $filter OData.

[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
Dědičnost
FilterAttribute
Atributy

Konstruktory

FilterAttribute()

Inicializuje novou instanci FilterAttribute třídy.

FilterAttribute(String[])

Inicializuje novou instanci FilterAttribute třídy s názvem povolených $filter vlastností.

Vlastnosti

Disabled

Představuje, zda $filter lze použít na tyto vlastnosti.

FilterConfigurations

Získá nebo nastaví $filter konfigurace vlastností.

Platí pro