Partilhar via


RazorViewAttribute(String, Type) Construtor

Definição

Essa classe é substituída por RazorCompiledItem e não será usada pelo 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)

Parâmetros

path
String

O caminho.

viewType
Type

O tipo de exibição.

Aplica-se a