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.

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
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