Mode<T>(MultiSelectionPrompt<T>, SelectionMode) Method

Sets the selection mode.
public static MultiSelectionPrompt<T> Mode<T>(this MultiSelectionPrompt<T> obj, SelectionMode mode) 
    where T : notnull

Parameters

T
The prompt result type.

Parameters

MultiSelectionPrompt<T> obj
The prompt.
SelectionMode mode
The selection mode.

Returns