C# 클래스 Smartsheet.Api.Models.PaginationParameters

Builds optional query string parameters for pagination.
파일 보기 프로젝트 열기: smartsheet-platform/smartsheet-csharp-sdk 1 사용 예제들

공개 메소드들

메소드 설명
PaginationParameters ( bool includeAll, int pageSize, int page ) : System

Builds optional query string parameters for pagination. Most index endpoints default to a page size of 100 results. If you need all results at once, you should specify the includeAll=true query string parameter.

ToQueryString ( ) : string

Returns a formatted string of query string parameters.

toDictionary ( ) : string>.IDictionary

Returns a dictionary of query string parameters.

메소드 상세

PaginationParameters() 공개 메소드

Builds optional query string parameters for pagination. Most index endpoints default to a page size of 100 results. If you need all results at once, you should specify the includeAll=true query string parameter.
public PaginationParameters ( bool includeAll, int pageSize, int page ) : System
includeAll bool If true, include all results (i.e. do not paginate). /// Mutually exclusive with pageSize and page (they are ignored if includeAll=true is specified)
pageSize int The maximum number of items to return per page. Unless otherwise stated for a specific endpoint, /// defaults to 100 if not specified.
page int Which page to return. Defaults to 1 if not specified.
리턴 System

ToQueryString() 공개 메소드

Returns a formatted string of query string parameters.
public ToQueryString ( ) : string
리턴 string

toDictionary() 공개 메소드

Returns a dictionary of query string parameters.
public toDictionary ( ) : string>.IDictionary
리턴 string>.IDictionary