Class Page
Represents the class that helps in generating the MDX expression for the specific page.
Inheritance
System.Object
Page
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Olap.MDXQueryBuilder
Assembly: Syncfusion.Olap.Base.dll
Syntax
public class Page
Constructors
Page(Int32, Int32)
Initializes a new instance of the Page class.
Declaration
public Page(int currentPage, int pageSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | currentPage | The index of the current page. |
System.Int32 | pageSize | The size of the page. |
Properties
CurrentPage
Gets or sets the index of the current page.
Declaration
public int CurrentPage { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The index of the current page. |
PageSize
Gets or sets the size of the page.
Declaration
public int PageSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The size of the page. |
Methods
GetEndIndex()
Gets the ending index of the page.
Declaration
public int GetEndIndex()
Returns
Type | Description |
---|---|
System.Int32 | The ending index of the page. |
GetStartIndex()
Gets the starting index of the page.
Declaration
public int GetStartIndex()
Returns
Type | Description |
---|---|
System.Int32 | The starting index of the page. |