TemplateStack.Pop(HttpContextBase) 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.
Removes and returns the template file that is at the top of the stack in the specified HTTP context.
public static System.Web.WebPages.ITemplateFile Pop (System.Web.HttpContextBase httpContext);
static member Pop : System.Web.HttpContextBase -> System.Web.WebPages.ITemplateFile
Public Shared Function Pop (httpContext As HttpContextBase) As ITemplateFile
Parameters
- httpContext
- HttpContextBase
The HTTP context that contains the stack that stores the template files.
Returns
The template file, removed from the top of the stack.
Exceptions
httpContext
is null.