RazorViewAttribute(String, Type) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This class is replaced by RazorCompiledItem and will not be used by the runtime.
public:
RazorViewAttribute(System::String ^ path, Type ^ viewType);
public RazorViewAttribute (string path, Type viewType);
new Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute : string * Type -> Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute
Public Sub New (path As String, viewType As Type)
Parameters
- path
- String
The path.
- viewType
- Type
The viewtype.