ModulePage.Module Property
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.
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.