RazorEngineHost.DefaultNamespace Property
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets or sets the default namespace for the host.
Namespace: System.Web.Razor
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Overridable Property DefaultNamespace As String
Get
Set
'Usage
Dim instance As RazorEngineHost
Dim value As String
value = instance.DefaultNamespace
instance.DefaultNamespace = value
public virtual string DefaultNamespace { get; set; }
public:
virtual property String^ DefaultNamespace {
String^ get ();
void set (String^ value);
}
abstract DefaultNamespace : string with get, set
override DefaultNamespace : string with get, set
function get DefaultNamespace () : String
function set DefaultNamespace (value : String)
Property Value
Type: System.String
The default namespace for the host.