IMultiPageController<T>.GetPageByIndex(Int32) 方法

定义

返回由提供的 index 标识的页。

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

参数

index
System.Int32

要返回的页的索引。

返回

T

如果没有提供的 index 的页,则为指定的页或 null

注解

如果提供的 index 不在范围内,此方法不会引发异常。 在这种情况下,它会返回 null

适用于