Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ModulePageInfo Constructor (Module, Type, String, String, Object, Object, String)

IIS 7.0

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

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

public ModulePageInfo(
	Module associatedModule,
	Type pageType,
	string title,
	string description,
	Object smallImage,
	Object largeImage,
	string longDescription
)

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.
description
Type: System..::..String
The short description of the page.
smallImage
Type: System..::..Object
A Image for display in details view or list view.
largeImage
Type: System..::..Object
A Image for display in Icons view or Tiles view.
longDescription
Type: System..::..String
The long description 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.

The description is displayed as a tooltip in Features View of IIS Manager.

The smallImage is displayed in Features View of IIS Manager when the Details view or List view is selected.

The largeImage is displayed in Features View of IIS Manager when the Icons view or Tiles view is selected.

The longDescription is displayed in Features View of IIS Manager when the module is selected.

ModulePageInfo modPgInfo = new ModulePageInfo(this,
    typeof(DemoPage),                        // pageType
    "Demo Hierarchy Info Title",             // Title
    "Demo HierarchyInfo Description",        // Description
    rLoadImg.loadImgs("rSmall.bmp"),         // small image
    rLoadImg.loadImgs("rLarge.bmp"),         // large image
    "HierarchyProvider long description"     // long description
    );


Community Additions

ADD
Show:
© 2015 Microsoft