Share via


ParserContext.Source Property

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the text reader for the source document.

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

Syntax

'Declaration
Public Property Source As TextDocumentReader 
    Get 
    Set
'Usage
Dim instance As ParserContext 
Dim value As TextDocumentReader 

value = instance.Source

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

Property Value

Type: System.Web.Razor.Text.TextDocumentReader
The text reader for the source document.

See Also

Reference

ParserContext Class

System.Web.Razor.Parser Namespace