HelperPage.BeginContext Method (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.
Namespace: System.Web.WebPages
Assembly: System.Web.WebPages (in System.Web.WebPages.dll)
Syntax
'Declaration
Public Shared Sub BeginContext ( _
virtualPath As String, _
startPosition As Integer, _
length As Integer, _
isLiteral As Boolean _
)
'Usage
Dim virtualPath As String
Dim startPosition As Integer
Dim length As Integer
Dim isLiteral As Boolean
HelperPage.BeginContext(virtualPath, startPosition, _
length, isLiteral)
public static void BeginContext(
string virtualPath,
int startPosition,
int length,
bool isLiteral
)
public:
static void BeginContext(
String^ virtualPath,
int startPosition,
int length,
bool isLiteral
)
static member BeginContext :
virtualPath:string *
startPosition:int *
length:int *
isLiteral:bool -> unit
public static function BeginContext(
virtualPath : String,
startPosition : int,
length : int,
isLiteral : boolean
)
Parameters
- virtualPath
Type: System.String
The helper virtual path.
- startPosition
Type: System.Int32
The starting position.
- length
Type: System.Int32
The length of the context.
- isLiteral
Type: System.Boolean
true of the context has a literal attribute; otherwise, false.