Share via


RazorEngineHost.NamespaceImports Property

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

Gets the namespace imports for the host.

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

Syntax

'Declaration
Public Overridable Property NamespaceImports As ISet(Of String)
    Get 
    Private Set
'Usage
Dim instance As RazorEngineHost 
Dim value As ISet(Of String)

value = instance.NamespaceImports
public virtual ISet<string> NamespaceImports { get; private set; }
public:
virtual property ISet<String^>^ NamespaceImports {
    ISet<String^>^ get ();
    private: void set (ISet<String^>^ value);
}
abstract NamespaceImports : ISet<string> with get, private set 
override NamespaceImports : ISet<string> with get, private set
function get NamespaceImports () : ISet<String>
private function set NamespaceImports (value : ISet<String>)

Property Value

Type: System.Collections.Generic.ISet<String>
The namespace imports for the host.

See Also

Reference

RazorEngineHost Class

System.Web.Razor Namespace