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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for