ViewLocationExpanderContext.PageName 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 page name. This will be the value of the page
route value when rendering a Page from the
Razor Pages framework. This value will be null
if rendering a view as the result of a controller.
public:
property System::String ^ PageName { System::String ^ get(); };
public string PageName { get; }
public string? PageName { get; }
member this.PageName : string
Public ReadOnly Property PageName As String
Property Value
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