Share via


ModuleListPage.SetView(ModuleListPageViewModes) Method

Definition

Sets the view mode.

protected:
 void SetView(Microsoft::Web::Management::Client::ModuleListPageViewModes mode);
protected void SetView (Microsoft.Web.Management.Client.ModuleListPageViewModes mode);
member this.SetView : Microsoft.Web.Management.Client.ModuleListPageViewModes -> unit
Protected Sub SetView (mode As ModuleListPageViewModes)

Parameters

mode
ModuleListPageViewModes

The view mode.

Exceptions

The mode parameter is not a ModuleListPageViewModes enumeration value.

Examples

The following example sets the view mode to Details.

void ShowDetails() {

    SetView(ModuleListPageViewModes.Details);

} 

Applies to