Share via


ModulePage.Module Property

Definition

Gets the module for the page.

protected:
 property Microsoft::Web::Management::Client::Module ^ Module { Microsoft::Web::Management::Client::Module ^ get(); };
protected Microsoft.Web.Management.Client.Module Module { get; }
member this.Module : Microsoft.Web.Management.Client.Module
Protected ReadOnly Property Module As Module

Property Value

The Module derived class that called the Initialize(IServiceProvider, ModuleInfo) method.

Examples

The following example writes the module name to the trace listener.

Module myMod = this.Module;
Trace.WriteLine(myMod.ModuleInfo.Name);

Remarks

This property is initialized when the Microsoft.Web.Management.Client.IControlPanel.RegisterPage method is called from within the Microsoft.Web.Management.Client.Module.Initialize method.

Applies to