Share via


HelperPage.BeginContext Method

Definition

Overloads

BeginContext(String, Int32, Int32, Boolean)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Puts all the helper statements into the context of the helper page.

BeginContext(TextWriter, String, Int32, Int32, Boolean)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Puts all the helper statements into the context of the helper page.

BeginContext(String, Int32, Int32, Boolean)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Puts all the helper statements into the context of the helper page.

public static void BeginContext (string virtualPath, int startPosition, int length, bool isLiteral);
static member BeginContext : string * int * int * bool -> unit
Public Shared Sub BeginContext (virtualPath As String, startPosition As Integer, length As Integer, isLiteral As Boolean)

Parameters

virtualPath
String

The helper virtual path.

startPosition
Int32

The starting position.

length
Int32

The length of the context.

isLiteral
Boolean

true of the context has a literal attribute; otherwise, false.

Applies to

BeginContext(TextWriter, String, Int32, Int32, Boolean)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Puts all the helper statements into the context of the helper page.

public static void BeginContext (System.IO.TextWriter writer, string virtualPath, int startPosition, int length, bool isLiteral);
static member BeginContext : System.IO.TextWriter * string * int * int * bool -> unit
Public Shared Sub BeginContext (writer As TextWriter, virtualPath As String, startPosition As Integer, length As Integer, isLiteral As Boolean)

Parameters

writer
TextWriter

The text writer.

virtualPath
String

The helper virtual path.

startPosition
Int32

The starting position.

length
Int32

The length of the context.

isLiteral
Boolean

true of the context has a literal attribute; otherwise, false.

Applies to