Export (0) Print
Expand All

ModulePageInfo Constructor (Module, Type, String)

IIS 7.0

Initializes a new instance of the ModulePageInfo class, using the specified module, type, and title.

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

public ModulePageInfo(
	Module associatedModule,
	Type pageType,
	string title
)

Parameters

associatedModule
Type: Microsoft.Web.Management.Client..::..Module
The Module associated with the page.
pageType
Type: System..::..Type
The Type of the page.
title
Type: System..::..String
The title of the page.

The pageType can be of any type that derives from the ModulePage class and has a parameterless constructor.

The title is displayed in Features View of IIS Manager with the icon for the module.

ModulePageInfo modPgInfo = new ModulePageInfo(this,
    typeof(DemoPage),                       // pageType
    "Demo Hierarchy Info Title"             // Title
    );


Community Additions

ADD
Show:
© 2015 Microsoft