Share via


PageAttribute Class

Definition

Represents an Attribute that can be placed on a property or a class to specify that the maximum value of $top and query result return number of that property or type.

[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
Inheritance
PageAttribute
Attributes

Constructors

PageAttribute()

Properties

MaxTop

Sets the max value of $top that a client can request.

PageSize

Sets the maximum number of query results to return.

Applies to