RazorPageAttribute Classe

Definizione

Attenzione

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

Obsoleto: questo attributo è stato sostituito da RazorCompiledItem e non verrà usato dal runtime.

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
Ereditarietà
RazorPageAttribute
Attributi

Costruttori

RazorPageAttribute(String, Type, String)
Obsoleti.

Questo attributo è stato sostituito da RazorCompiledItem e non verrà usato dal runtime.

Proprietà

Path
Obsoleti.

Ottiene il percorso della visualizzazione.

(Ereditato da RazorViewAttribute)
RouteTemplate
Obsoleti.

Modello di route.

ViewType
Obsoleti.

Ottiene il tipo di visualizzazione.

(Ereditato da RazorViewAttribute)

Si applica a