Share via


HelperPage.EndContext Method (TextWriter, String, Int32, Int32, Boolean)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Indicates the end of context block.

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

Syntax

'Declaration
Public Shared Sub EndContext ( _
    writer As TextWriter, _
    virtualPath As String, _
    startPosition As Integer, _
    length As Integer, _
    isLiteral As Boolean _
)
'Usage
Dim writer As TextWriter 
Dim virtualPath As String 
Dim startPosition As Integer 
Dim length As Integer 
Dim isLiteral As Boolean 

HelperPage.EndContext(writer, virtualPath, _
    startPosition, length, isLiteral)
public static void EndContext(
    TextWriter writer,
    string virtualPath,
    int startPosition,
    int length,
    bool isLiteral
)
public:
static void EndContext(
    TextWriter^ writer, 
    String^ virtualPath, 
    int startPosition, 
    int length, 
    bool isLiteral
)
static member EndContext : 
        writer:TextWriter * 
        virtualPath:string * 
        startPosition:int * 
        length:int * 
        isLiteral:bool -> unit
public static function EndContext(
    writer : TextWriter, 
    virtualPath : String, 
    startPosition : int, 
    length : int, 
    isLiteral : boolean
)

Parameters

  • isLiteral
    Type: System.Boolean
    true of the context has a literal attribute; otherwise, false.

See Also

Reference

HelperPage Class

EndContext Overload

System.Web.WebPages Namespace