RazorPage.IgnoreBody Method
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.
In a Razor layout page, ignores rendering the portion of a content page that is not within a named section.
public:
void IgnoreBody();
public void IgnoreBody ();
member this.IgnoreBody : unit -> unit
Public Sub IgnoreBody ()