SimpleMembershipProvider.GetAllUsers(Int32, Int32, Int32) 方法

定義

傳回資料來源中的所有使用者帳戶。

public override System.Web.Security.MembershipUserCollection GetAllUsers (int pageIndex, int pageSize, out int totalRecords);
override this.GetAllUsers : int * int * int -> System.Web.Security.MembershipUserCollection
Public Overrides Function GetAllUsers (pageIndex As Integer, pageSize As Integer, ByRef totalRecords As Integer) As MembershipUserCollection

參數

pageIndex
Int32

要傳回的結果網頁之以零起始的索引。

pageSize
Int32

要傳回的結果網頁大小。

totalRecords
Int32

當這個方法傳回時,包含相符使用者帳戶的總數。

傳回

集合,包含使用者帳戶的頁面 pageSize ,從 所 pageIndex 指定的頁面開始。

適用於