Sdílet prostřednictvím


OrderByAttribute Třída

Definice

Představuje objekt Attribute , který lze umístit do třídy nebo vlastnosti, která koreluje s nastavením možnosti dotazu $orderby OData.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=true)]
public sealed class OrderByAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=true)>]
type OrderByAttribute = class
    inherit Attribute
Public NotInheritable Class OrderByAttribute
Inherits Attribute
Dědičnost
OrderByAttribute
Atributy

Konstruktory

OrderByAttribute()

Inicializuje novou instanci OrderByAttribute třídy.

OrderByAttribute(String[])

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

Vlastnosti

Disabled

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

OrderByConfigurations

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

Platí pro