ParserBase.StartBlock Method (BlockType, Boolean)

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

Namespace:  System.Web.Razor.Parser
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Protected Function StartBlock ( _
    type As BlockType, _
    outputCurrentAsTransition As Boolean _
) As IDisposable
'Usage
Dim type As BlockType
Dim outputCurrentAsTransition As Boolean
Dim returnValue As IDisposable

returnValue = Me.StartBlock(type, _
    outputCurrentAsTransition)
protected IDisposable StartBlock(
    BlockType type,
    bool outputCurrentAsTransition
)
protected:
IDisposable^ StartBlock(
    BlockType type, 
    bool outputCurrentAsTransition
)
protected function StartBlock(
    type : BlockType, 
    outputCurrentAsTransition : boolean
) : IDisposable

Parameters

Return Value

Type: System.IDisposable

Permissions

  • Medium trust for the immediate caller. This member can be used by partially trusted code.

See Also

Reference

ParserBase Class

StartBlock Overload

System.Web.Razor.Parser Namespace