Share via


ControlPanelCategoryInfo Class

Definition

Represents a category of items in Features View of the IIS Manager workspace.

public ref class ControlPanelCategoryInfo sealed
public sealed class ControlPanelCategoryInfo
type ControlPanelCategoryInfo = class
Public NotInheritable Class ControlPanelCategoryInfo
Inheritance
ControlPanelCategoryInfo

Examples

The following example creates and registers an IControlPanel interface in the Performance category.

internal class DemoModule : Microsoft.Web.Management.Client.Module {

    public DemoModule()
        : base() {
    }

    protected override void Initialize(IServiceProvider serviceProvider, ModuleInfo moduleInfo) {
        base.Initialize(serviceProvider, moduleInfo);
        SH.SP = serviceProvider;
        IControlPanel controlPanel = (IControlPanel)GetService(typeof(IControlPanel));

        ModulePageInfo modulePageInfo = new ModulePageInfo(this,
              typeof(DemoPage),                       // pageType
              "Sample ModulePage Info Title",            // Title
             "Sample ModulePage Description",        // Description
             rLoadImg.loadImgs("rSmall.bmp"),         // small image
             rLoadImg.loadImgs("rLarge.bmp"),         // large image
             "ModulePage Sample long description"     // long description
             );


        controlPanel.RegisterPage(modulePageInfo);
        // Category
        controlPanel.RegisterPage(
            ControlPanelCategoryInfo.Performance, modulePageInfo);
        // Area
        controlPanel.RegisterPage(ControlPanelCategoryInfo.Iis, 
            modulePageInfo);

    }

}         // end of DemoModule class   

Constructors

ControlPanelCategoryInfo(String, String, String, ControlPanelCategorization)

Initializes a new instance of the ControlPanelCategoryInfo class.

Fields

ApplicationDevelopment

Specifies the string "ApplicationDevelopment".

AspNet

Specifies the string "ASP.NET".

CommonHttp

Specifies the string "CommonHttp".

HealthAndDiagnostics

Specifies the string "HealthAndDiagnostics".

Iis

Specifies the string "IIS".

Management

Specifies the string "Management".

Performance

Specifies the string "Performance".

Security

Specifies the string "Security".

Server

Specifies the string "Server".

Properties

Categorization

Gets the category type for items in Features View of the IIS Manager workspace.

Description

Gets the description of the category.

Name

Gets the name of the category.

Text

Gets the name of the category, as displayed in the user interface.

Methods

ToString()

Returns the name of the category that is displayed in IIS Manager.

Applies to