RazorDirectiveAttribute Class

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Represents an attribute for the Razor directive.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class RazorDirectiveAttribute : Attribute
type RazorDirectiveAttribute = class
    inherit Attribute
Public NotInheritable Class RazorDirectiveAttribute
Inherits Attribute
Inheritance
RazorDirectiveAttribute
Attributes

Constructors

RazorDirectiveAttribute(String, String)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the RazorDirectiveAttribute class.

Properties

Name

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the name of the attribute.

TypeId

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets the unique type ID of the attribute.

Value

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the value of the attribute.

Methods

Equals(Object)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether this instance is equal to a specified object.

GetHashCode()

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Returns the hash code for this instance.

Applies to