共用方式為


RazorPageAttribute 類別

定義

警告

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

過時:這個屬性已被 RazorCompiledItem 取代,執行時間將不會使用。

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
繼承
RazorPageAttribute
屬性

建構函式

RazorPageAttribute(String, Type, String)
已淘汰.

這個屬性已被 RazorCompiledItem 取代,執行時間將不會使用。

屬性

Path
已淘汰.

取得檢視的路徑。

(繼承來源 RazorViewAttribute)
RouteTemplate
已淘汰.

路由範本。

ViewType
已淘汰.

取得檢視類型。

(繼承來源 RazorViewAttribute)

適用於