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
- type
Type: System.Web.Razor.Parser.SyntaxTree.BlockType
- outputCurrentAsTransition
Type: System.Boolean
Return Value
Type: System.IDisposable
Permissions
- Medium trust for the immediate caller. This member can be used by partially trusted code.