Share via


ModulePage.PageInfo Property

Definition

Gets the ModulePageInfo object for the page.

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

Property Value

The ModulePageInfo object that is set when the RegisterPage(ModulePageInfo) method is called from within the Initialize(IServiceProvider, ModuleInfo) method.

Implements

Examples

The following example writes Microsoft.Web.Management.Client.ModulePageInfo object details to the trace listener.

ModulePageInfo myModPI = this.PageInfo;

Trace.WriteLine("AssociatedModule: " + myModPI.AssociatedModule
    + "\n Description: \"" + myModPI.Description
    + "\"\n IsEnabled: " + myModPI.IsEnabled.ToString()
    + "\n Title: \"" + myModPI.Title + "\"");

Applies to