Condividi tramite


PageAttribute Classe

Definizione

Rappresenta un oggetto Attribute che può essere inserito in una proprietà o in una classe per specificare che il valore massimo di $top e il numero restituito del risultato della query di tale proprietà o tipo.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property)]
public sealed class PageAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property)>]
type PageAttribute = class
    inherit Attribute
Public NotInheritable Class PageAttribute
Inherits Attribute
Ereditarietà
PageAttribute
Attributi

Costruttori

PageAttribute()

Rappresenta un oggetto Attribute che può essere inserito in una proprietà o in una classe per specificare che il valore massimo di $top e il numero restituito del risultato della query di tale proprietà o tipo.

Proprietà

MaxTop

Imposta il valore massimo di $top che un client può richiedere.

PageSize

Imposta il numero massimo di risultati della query da restituire.

Si applica a