ModulePage.PageInfo 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 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 + "\"");