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
派生
属性

构造函数

RazorViewAttribute(String, Type)
已过时.

此类由 RazorCompiledItem 替换,运行时不会使用。

属性

Path
已过时.

获取视图的路径。

ViewType
已过时.

获取视图类型。

适用于