RazorPageAttribute Třída

Definice

Upozornění

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

Zastaralé: Tento atribut byl nahrazen RazorCompiledItem a nebude používán modulem 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
Dědičnost
RazorPageAttribute
Atributy

Konstruktory

RazorPageAttribute(String, Type, String)

Tento atribut byl nahrazen RazorCompiledItem a nebude používán modulem runtime.

Vlastnosti

Path

Získá cestu zobrazení.

(Zděděno od RazorViewAttribute)
RouteTemplate

Šablona trasy.

ViewType

Získá typ zobrazení.

(Zděděno od RazorViewAttribute)

Platí pro