MvcVBRazorCodeParser.ParseInheritsStatement Method
Sets a value that indicates whether the current code block and model should be inherited.
Namespace: System.Web.Mvc.Razor
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Protected Overrides Function ParseInheritsStatement ( _
block As CodeBlockInfo _
) As Boolean
'Usage
Dim block As CodeBlockInfo
Dim returnValue As Boolean
returnValue = Me.ParseInheritsStatement(block)
protected override bool ParseInheritsStatement(
CodeBlockInfo block
)
protected:
virtual bool ParseInheritsStatement(
CodeBlockInfo^ block
) override
protected override function ParseInheritsStatement(
block : CodeBlockInfo
) : boolean
Parameters
- block
Type: System.Web.Razor.Parser.CodeBlockInfo
The code block.
Return Value
Type: System.Boolean
true if the code block and model is inherited; otherwise, false.