Dela via


RazorViewAttribute(String, Type) Constructor

Definition

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