RazorPageAttribute Třída
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
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
- 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) |