Layout_cshtml Methods

The Layout_cshtml type exposes the following members.

Methods

  Name Description
Protected method BeginContext(Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Protected method BeginContext(TextWriter, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Protected method BeginContext(String, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Protected method BeginContext(TextWriter, String, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Protected method ConfigurePage When overridden in a derived class, configures the current web page based on the configuration of the parent web page. (Inherited from WebPageBase.)
Protected method CreatePageFromVirtualPath (Inherited from WebPageBase.)
Public method DefineSection Called by content pages to create named content sections. (Inherited from WebPageBase.)
Protected method EndContext(Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Protected method EndContext(TextWriter, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Protected method EndContext(String, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Protected method EndContext(TextWriter, String, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Public method Equals (Inherited from Object.)
Public method Execute Executes the server code in the current web page that is marked using Razor syntax.This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Overrides WebPageExecutingBase.Execute().)
Public method ExecutePageHierarchy() Executes the code in a set of dependent pages. (Inherited from WebPage.)
Public method ExecutePageHierarchy(WebPageContext, TextWriter) Executes the code in a set of dependent web pages by using the specified parameters. (Inherited from WebPageBase.)
Public method ExecutePageHierarchy(WebPageContext, TextWriter, WebPageRenderingBase) Executes the code in a set of dependent web pages by using the specified context, writer, and start page. (Inherited from WebPageBase.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method GetOutputWriter Returns the text writer instance that is used to render the page. (Inherited from WebPageBase.)
Public method GetType (Inherited from Object.)
Public method Href Builds an absolute URL from an application-relative URL by using the specified parameters.This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Overrides WebPageExecutingBase.Href(String, array<Object[]).)
Protected method InitializePage Initializes an object that inherits from the WebPage class. (Inherited from WebPage.)
Public method IsSectionDefined Returns a value that indicates whether the specified section is defined in the page. (Inherited from WebPageBase.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method NormalizeLayoutPagePath (Inherited from WebPageExecutingBase.)
Public method NormalizePath (Inherited from WebPageExecutingBase.)
Public method PopContext Returns and removes the context from the top of the OutputStack instance. (Inherited from WebPageBase.)
Public method PushContext Inserts the specified context at the top of the OutputStack instance. (Inherited from WebPageBase.)
Public method RenderBody In layout pages, renders the portion of a content page that is not within a named section. (Inherited from WebPageBase.)
Public method RenderPage Renders a content page. (Inherited from WebPage.)
Public method RenderSection(String) In layout pages, renders the content of a named section. (Inherited from WebPageBase.)
Public method RenderSection(String, Boolean) In layout pages, renders the content of a named section and specifies whether the section is required. (Inherited from WebPageBase.)
Public method ToString (Inherited from Object.)
Public method Write(Object) Writes the specified object as an HTML-encoded string. (Inherited from WebPageBase.)
Public method Write(HelperResult) Writes the specified HelperResult object as an HTML-encoded string. (Inherited from WebPageBase.)
Public method WriteAttribute (Inherited from WebPageExecutingBase.)
Public method WriteAttributeTo(TextWriter, String, PositionTagged<String>, PositionTagged<String>, array<AttributeValue[]) (Inherited from WebPageExecutingBase.)
Protected method WriteAttributeTo(String, TextWriter, String, PositionTagged<String>, PositionTagged<String>, array<AttributeValue[]) (Inherited from WebPageExecutingBase.)
Public method WriteLiteral Writes the specified object without HTML-encoding it first. (Inherited from WebPageBase.)

Top

See Also

Reference

Layout_cshtml Class

System.Web.WebPages.Administration Namespace