ParserBase.StartBlock Method (BlockType)

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 _
) As IDisposable
'Usage
Dim type As BlockType
Dim returnValue As IDisposable

returnValue = Me.StartBlock(type)
protected IDisposable StartBlock(
    BlockType type
)
protected:
IDisposable^ StartBlock(
    BlockType type
)
protected function StartBlock(
    type : BlockType
) : 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