PageSize<T>(MultiSelectionPrompt<T>, int) Method

Sets how many choices that are displayed to the user.
public static MultiSelectionPrompt<T> PageSize<T>(this MultiSelectionPrompt<T> obj, int pageSize) 
    where T : notnull

Parameters

T
The prompt result type.

Parameters

MultiSelectionPrompt<T> obj
The prompt.
int pageSize
The number of choices that are displayed to the user.

Returns