Share via


RazorViewAttribute Class

Definition

Caution

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

This class is replaced by RazorCompiledItem and will not be used by the runtime.

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
Inheritance
RazorViewAttribute
Derived
Attributes

Constructors

RazorViewAttribute(String, Type)

This class is replaced by RazorCompiledItem and will not be used by the runtime.

Properties

Path

Gets the path of the view.

ViewType

Gets the view type.

Applies to