ModulePageInfo Constructors
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.
Initializes a new instance of the ModulePageInfo class.
Overloads
ModulePageInfo(Module, Type, String) |
Initializes a new instance of the ModulePageInfo class, using the specified module, type, and title. |
ModulePageInfo(Module, Type, String, String) |
Initializes a new instance of the ModulePageInfo class, using the specified module, type, title, and description. |
ModulePageInfo(Module, Type, String, String, Object, Object) |
Initializes a new instance of the ModulePageInfo class, using the specified module, type, title, description, and images. |
ModulePageInfo(Module, Type, String, String, Object, Object, String) |
Initializes a new instance of the ModulePageInfo class, using the specified module, type, title, description, images, and long description. |
ModulePageInfo(Module, Type, String)
Initializes a new instance of the ModulePageInfo class, using the specified module, type, and title.
public:
ModulePageInfo(Microsoft::Web::Management::Client::Module ^ associatedModule, Type ^ pageType, System::String ^ title);
public ModulePageInfo (Microsoft.Web.Management.Client.Module associatedModule, Type pageType, string title);
new Microsoft.Web.Management.Client.ModulePageInfo : Microsoft.Web.Management.Client.Module * Type * string -> Microsoft.Web.Management.Client.ModulePageInfo
Public Sub New (associatedModule As Module, pageType As Type, title As String)
Parameters
- title
- String
The title of the page.
Examples
ModulePageInfo modPgInfo = new ModulePageInfo(this,
typeof(DemoPage), // pageType
"Demo Hierarchy Info Title" // Title
);
Remarks
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.
Applies to
ModulePageInfo(Module, Type, String, String)
Initializes a new instance of the ModulePageInfo class, using the specified module, type, title, and description.
public:
ModulePageInfo(Microsoft::Web::Management::Client::Module ^ associatedModule, Type ^ pageType, System::String ^ title, System::String ^ description);
public ModulePageInfo (Microsoft.Web.Management.Client.Module associatedModule, Type pageType, string title, string description);
new Microsoft.Web.Management.Client.ModulePageInfo : Microsoft.Web.Management.Client.Module * Type * string * string -> Microsoft.Web.Management.Client.ModulePageInfo
Public Sub New (associatedModule As Module, pageType As Type, title As String, description As String)
Parameters
- title
- String
The title of the page.
- description
- String
The short description of the page.
Examples
ModulePageInfo modPgInfo = new ModulePageInfo(this,
typeof(DemoPage), // pageType
"Demo Hierarchy Info Title", // Title
"Demo HierarchyInfo Fetch" // Description
);
Remarks
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.
Applies to
ModulePageInfo(Module, Type, String, String, Object, Object)
Initializes a new instance of the ModulePageInfo class, using the specified module, type, title, description, and images.
public:
ModulePageInfo(Microsoft::Web::Management::Client::Module ^ associatedModule, Type ^ pageType, System::String ^ title, System::String ^ description, System::Object ^ smallImage, System::Object ^ largeImage);
public ModulePageInfo (Microsoft.Web.Management.Client.Module associatedModule, Type pageType, string title, string description, object smallImage, object largeImage);
new Microsoft.Web.Management.Client.ModulePageInfo : Microsoft.Web.Management.Client.Module * Type * string * string * obj * obj -> Microsoft.Web.Management.Client.ModulePageInfo
Public Sub New (associatedModule As Module, pageType As Type, title As String, description As String, smallImage As Object, largeImage As Object)
Parameters
- title
- String
The title of the page.
- description
- String
The short description of the page.
Examples
ModulePageInfo modPgInfo = new ModulePageInfo(this,
typeof(DemoPage), // pageType
"Demo Hierarchy Info Title", // Title
"Demo HierarchyInfo Fetch", // Description
rLoadImg.loadImgs("rSmall.bmp"), // small image
rLoadImg.loadImgs("rLarge.bmp") // large image
);
Remarks
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 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.
Applies to
ModulePageInfo(Module, Type, String, String, Object, Object, String)
Initializes a new instance of the ModulePageInfo class, using the specified module, type, title, description, images, and long description.
public:
ModulePageInfo(Microsoft::Web::Management::Client::Module ^ associatedModule, Type ^ pageType, System::String ^ title, System::String ^ description, System::Object ^ smallImage, System::Object ^ largeImage, System::String ^ longDescription);
public ModulePageInfo (Microsoft.Web.Management.Client.Module associatedModule, Type pageType, string title, string description, object smallImage, object largeImage, string longDescription);
new Microsoft.Web.Management.Client.ModulePageInfo : Microsoft.Web.Management.Client.Module * Type * string * string * obj * obj * string -> Microsoft.Web.Management.Client.ModulePageInfo
Public Sub New (associatedModule As Module, pageType As Type, title As String, description As String, smallImage As Object, largeImage As Object, longDescription As String)
Parameters
- title
- String
The title of the page.
- description
- String
The short description of the page.
- longDescription
- String
The long description of the page.
Examples
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
);
Remarks
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.