Share via


RazorCodeGenerator.Host Property

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

Gets or sets the razor engine host.

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

Syntax

'Declaration
Public Property Host As RazorEngineHost 
    Get 
    Private Set
'Usage
Dim instance As RazorCodeGenerator 
Dim value As RazorEngineHost 

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

Property Value

Type: System.Web.Razor.RazorEngineHost
The razor engine host.

See Also

Reference

RazorCodeGenerator Class

System.Web.Razor.Generator Namespace