RazorWebSectionGroup.Host Property

Gets or sets the host value for system.web.webPages.razor section group.

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

Syntax

'Declaration
<ConfigurationPropertyAttribute("host", IsRequired := False)> _
Public Property Host As HostSection 
    Get 
    Set
'Usage
Dim instance As RazorWebSectionGroup 
Dim value As HostSection 

value = instance.Host

instance.Host = value
[ConfigurationPropertyAttribute("host", IsRequired = false)]
public HostSection Host { get; set; }
[ConfigurationPropertyAttribute(L"host", IsRequired = false)]
public:
property HostSection^ Host {
    HostSection^ get ();
    void set (HostSection^ value);
}
[<ConfigurationPropertyAttribute("host", IsRequired = false)>]
member Host : HostSection with get, set
function get Host () : HostSection 
function set Host (value : HostSection)

Property Value

Type: System.Web.WebPages.Razor.Configuration.HostSection
The host value.

Remarks

This section group contains the entries for the host element of the system.web.webPages.razor section. The host entry in this section group can be accessed programmatically by using the HostSection class.

See Also

Reference

RazorWebSectionGroup Class

System.Web.WebPages.Razor.Configuration Namespace