RazorPageAttribute Clase

Definición

Precaución

This attribute has been superseded by RazorCompiledItem and will not be used by the runtime.

Obsoleto: razorCompiledItem ha reemplazado este atributo y el tiempo de ejecución no lo usará.

public ref class RazorPageAttribute : Microsoft::AspNetCore::Mvc::Razor::Compilation::RazorViewAttribute
public class RazorPageAttribute : Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute
[System.Obsolete("This attribute has been superseded by RazorCompiledItem and will not be used by the runtime.")]
public class RazorPageAttribute : Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute
type RazorPageAttribute = class
    inherit RazorViewAttribute
[<System.Obsolete("This attribute has been superseded by RazorCompiledItem and will not be used by the runtime.")>]
type RazorPageAttribute = class
    inherit RazorViewAttribute
Public Class RazorPageAttribute
Inherits RazorViewAttribute
Herencia
RazorPageAttribute
Atributos

Constructores

RazorPageAttribute(String, Type, String)

RazorCompiledItem ha reemplazado este atributo y el tiempo de ejecución no lo usará.

Propiedades

Path

Obtiene la ruta de acceso de la vista.

(Heredado de RazorViewAttribute)
RouteTemplate

Plantilla de la ruta.

ViewType

Obtiene el tipo de vista.

(Heredado de RazorViewAttribute)

Se aplica a