Share via


RazorTemplateEngine.ParseTemplate Method (ITextBuffer)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Parses the template specified by the TextBuffer and returns its result.

Namespace:  System.Web.Razor
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Function ParseTemplate ( _
    input As ITextBuffer _
) As ParserResults
'Usage
Dim instance As RazorTemplateEngine 
Dim input As ITextBuffer 
Dim returnValue As ParserResults 

returnValue = instance.ParseTemplate(input)
public ParserResults ParseTemplate(
    ITextBuffer input
)
public:
ParserResults^ ParseTemplate(
    ITextBuffer^ input
)
member ParseTemplate : 
        input:ITextBuffer -> ParserResults
public function ParseTemplate(
    input : ITextBuffer
) : ParserResults

Parameters

Return Value

Type: System.Web.Razor.ParserResults
The resulting parse tree.

See Also

Reference

RazorTemplateEngine Class

ParseTemplate Overload

System.Web.Razor Namespace