November Happy Hour will be moved to Thursday December 5th.

Delegate PartialList<T>.LoadCallback

Callback that is used to load objects in a specific range of a set

Namespace: EPiServer.Web.WebControls
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public delegate List<T> LoadCallback(int startIndex, int maxRows);
Parameters
Type Name Description
System.Int32 startIndex

the start index in the set of objects

System.Int32 maxRows

the maximum number of objects to return

Returns
Type Description
System.Collections.Generic.List<T>

a list of objects

Constructors

LoadCallback(Object, IntPtr)

Declaration
public LoadCallback(object object, IntPtr method)
Parameters
Type Name Description
System.Object object
System.IntPtr method

Methods

BeginInvoke(Int32, Int32, AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(int startIndex, int maxRows, AsyncCallback callback, object object)
Parameters
Type Name Description
System.Int32 startIndex
System.Int32 maxRows
System.AsyncCallback callback
System.Object object
Returns
Type Description
System.IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual List<T> EndInvoke(IAsyncResult result)
Parameters
Type Name Description
System.IAsyncResult result
Returns
Type Description
System.Collections.Generic.List<T>

Invoke(Int32, Int32)

Declaration
public virtual List<T> Invoke(int startIndex, int maxRows)
Parameters
Type Name Description
System.Int32 startIndex
System.Int32 maxRows
Returns
Type Description
System.Collections.Generic.List<T>

Extension Methods