共用方式為


IMultiPageController<T>.GetPageByIndex(Int32) Method

Definition

Returns the page that is identified by the provided index.

public T GetPageByIndex (int index);
abstract member GetPageByIndex : int -> 'T

Parameters

index
System.Int32

The index of the page to return.

Returns

T

The specified page, or null if there is no page for the provided index.

Remarks

This method does not throw an exception if the provided index is out of range. Instead, it returns null in that case.

Applies to