Aracılığıyla paylaş


RazorPageAttribute Sınıf

Tanım

Dikkat

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

Kullanımdan kaldırıldı: Bu özniteliğin yerini RazorCompiledItem almıştır ve çalışma zamanı tarafından kullanılmaz.

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
Devralma
RazorPageAttribute
Öznitelikler

Oluşturucular

RazorPageAttribute(String, Type, String)
Geçersiz.

Bu özniteliğin yerini RazorCompiledItem almıştır ve çalışma zamanı tarafından kullanılmaz.

Özellikler

Path
Geçersiz.

Görünümün yolunu alır.

(Devralındığı yer: RazorViewAttribute)
RouteTemplate
Geçersiz.

Yol şablonu.

ViewType
Geçersiz.

Görünüm türünü alır.

(Devralındığı yer: RazorViewAttribute)

Şunlara uygulanır