語言

RazorViewAttribute 類別

定義

警告

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

這個類別會由 RazorCompiledItem 取代,而且執行時間不會使用。

public ref class RazorViewAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public class RazorViewAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
[System.Obsolete("This attribute has been superseded by RazorCompiledItem and will not be used by the runtime.")]
public class RazorViewAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
type RazorViewAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
[<System.Obsolete("This attribute has been superseded by RazorCompiledItem and will not be used by the runtime.")>]
type RazorViewAttribute = class
    inherit Attribute
Public Class RazorViewAttribute
Inherits Attribute
繼承
RazorViewAttribute
衍生
屬性

建構函式

名稱 Description
RazorViewAttribute(String, Type)
已淘汰.

這個類別會由 RazorCompiledItem 取代,而且執行時間不會使用。

屬性

名稱 Description
Path
已淘汰.

取得檢視的路徑。

ViewType
已淘汰.

取得檢視類型。

適用於