RazorCodeGenerator.SuspendBlock Method
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Namespace: System.Web.Razor.Generator
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Protected Overridable Sub SuspendBlock ( _
currentBlock As RazorCodeGenerator..::..BlockContext, _
nextBlock As RazorCodeGenerator..::..BlockContext _
)
'Usage
Dim currentBlock As RazorCodeGenerator..::..BlockContext
Dim nextBlock As RazorCodeGenerator..::..BlockContext
Me.SuspendBlock(currentBlock, nextBlock)
protected virtual void SuspendBlock(
RazorCodeGenerator..::..BlockContext currentBlock,
RazorCodeGenerator..::..BlockContext nextBlock
)
protected:
virtual void SuspendBlock(
RazorCodeGenerator..::..BlockContext^ currentBlock,
RazorCodeGenerator..::..BlockContext^ nextBlock
)
protected function SuspendBlock(
currentBlock : RazorCodeGenerator..::..BlockContext,
nextBlock : RazorCodeGenerator..::..BlockContext
)
Parameters
- currentBlock
Type: System.Web.Razor.Generator.RazorCodeGenerator.BlockContext
- nextBlock
Type: System.Web.Razor.Generator.RazorCodeGenerator.BlockContext
Permissions
- Medium trust for the immediate caller. This member can be used by partially trusted code.