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 + "\"");
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for