IControlPanel.GetCategory Method (String, ModulePageInfo)

IIS 7.0

Retrieves the Home page category of the feature that is associated with the specified category string.

Namespace:   Microsoft.Web.Management.Client
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

ControlPanelCategoryInfo GetCategory(
	string categorization,
	ModulePageInfo pageInfo


Type: System.String

The category string that was used to register the category.

Type: Microsoft.Web.Management.Client.ModulePageInfo

The ModulePageInfo object that is associated with the specified categorization string.

Return Value

Type: Microsoft.Web.Management.Client.ControlPanelCategoryInfo

The ControlPanelCategoryInfo object of which the current feature is a member, or null if the feature does not belong to any category.

This method enables you to map from a page back to the Home page category it is contained within for the specified category type.

Home page categories include Application Development, Health and Diagnostics, HTTP Features, Performance, Security, and Server Components.

The following example uses the category information to group features.

Return to top