ModuleListPage.Group(ModuleListPageGrouping) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Displays configuration features by the specified grouping.
protected:
void Group(Microsoft::Web::Management::Client::ModuleListPageGrouping ^ grouping);
protected void Group (Microsoft.Web.Management.Client.ModuleListPageGrouping grouping);
member this.Group : Microsoft.Web.Management.Client.ModuleListPageGrouping -> unit
Protected Sub Group (grouping As ModuleListPageGrouping)
Parameters
- grouping
- ModuleListPageGrouping
The name of the grouping.
Examples
The following example checks the value of the SelectedGrouping property before it calls the Group method.
private void updateGrouping(bool clearItems) {
ListView.BeginUpdate();
try {
if (clearItems)
ListView.Items.Clear();
if (SelectedGrouping != null &&
SelectedGrouping != EmptyGrouping)
Group(SelectedGrouping);
} finally {
ListView.EndUpdate();
Update();
}
}
Remarks
This method is called to arrange the configuration features by group. In IIS Manager, the configuration features appear in Features View on the Home pages at the server, site, and application levels. The default grouping at these levels is Area. To change the grouping in IIS Manager, select a new grouping in the Group by drop-down box.