Ανάγνωση στα Αγγλικά

Κοινή χρήση μέσω


RazorPageAttribute Class

Definition

Caution

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

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

C#
public class RazorPageAttribute : Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute
C#
[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
Inheritance
RazorPageAttribute
Attributes

Constructors

RazorPageAttribute(String, Type, String)

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

Properties

Path

Gets the path of the view.

(Inherited from RazorViewAttribute)
RouteTemplate

The route template.

ViewType

Gets the view type.

(Inherited from RazorViewAttribute)

Applies to

Προϊόν Εκδόσεις (Καταργήθηκε)
ASP.NET Core 2.0, 2.1, 2.2 (3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0)