HelperPage.EndContext Method (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 ( _
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.EndContext(virtualPath, startPosition, _
length, isLiteral)
public static void EndContext(
string virtualPath,
int startPosition,
int length,
bool isLiteral
)
public:
static void EndContext(
String^ virtualPath,
int startPosition,
int length,
bool isLiteral
)
static member EndContext :
virtualPath:string *
startPosition:int *
length:int *
isLiteral:bool -> unit
public static function EndContext(
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.