RazorViewAttribute 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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 AttributePublic Class RazorViewAttribute
Inherits Attribute- 继承
- 
				RazorViewAttribute
- 派生
- 属性
构造函数
| RazorViewAttribute(String, Type) | 
				已过时.
			 此类由 RazorCompiledItem 替换,运行时不会使用。 | 
属性
| Path | 
				已过时.
			 获取视图的路径。 | 
| ViewType | 
				已过时.
			 获取视图类型。 |