Share via


ParserResults.Document Property

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

Gets or sets the root node in the document’s syntax tree.

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

Syntax

'Declaration
Public Property Document As Block 
    Get 
    Private Set
'Usage
Dim instance As ParserResults 
Dim value As Block 

value = instance.Document
public Block Document { get; private set; }
public:
property Block^ Document {
    Block^ get ();
    private: void set (Block^ value);
}
member Document : Block with get, private set
function get Document () : Block 
private function set Document (value : Block)

Property Value

Type: System.Web.Razor.Parser.SyntaxTree.Block
The root node in the document’s syntax tree.

See Also

Reference

ParserResults Class

System.Web.Razor Namespace