RazorCodeGenerator.CurrentBlock Property

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 ReadOnly Property CurrentBlock As RazorCodeGenerator..::..BlockContext
    Get
'Usage
Dim value As RazorCodeGenerator..::..BlockContext

value = Me.CurrentBlock
protected RazorCodeGenerator..::..BlockContext CurrentBlock { get; }
protected:
property RazorCodeGenerator..::..BlockContext^ CurrentBlock {
    RazorCodeGenerator..::..BlockContext^ get ();
}
function get CurrentBlock () : RazorCodeGenerator..::..BlockContext

Property Value

Type: System.Web.Razor.Generator.RazorCodeGenerator.BlockContext

Permissions

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

See Also

Reference

RazorCodeGenerator Class

System.Web.Razor.Generator Namespace