RazorDirectiveAttribute Class
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.
Inheritance Hierarchy
System.Object
System.Attribute
System.Web.Razor.RazorDirectiveAttribute
Namespace: System.Web.Razor
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True, Inherited := True)> _
Public NotInheritable Class RazorDirectiveAttribute _
Inherits Attribute
'Usage
Dim instance As RazorDirectiveAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public sealed class RazorDirectiveAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = true, Inherited = true)]
public ref class RazorDirectiveAttribute sealed : public Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, Inherited = true)>]
type RazorDirectiveAttribute =
class
inherit Attribute
end
public final class RazorDirectiveAttribute extends Attribute
The RazorDirectiveAttribute type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RazorDirectiveAttribute | 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. |
Top
Properties
Name | Description | |
---|---|---|
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. (Overrides Attribute.TypeId.) | |
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. |
Top
Methods
Name | Description | |
---|---|---|
Equals | 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. (Overrides Attribute.Equals(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. (Overrides Attribute.GetHashCode().) | |
GetType | (Inherited from Object.) | |
IsDefaultAttribute | (Inherited from Attribute.) | |
Match | (Inherited from Attribute.) | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
_Attribute.GetIDsOfNames | (Inherited from Attribute.) | |
_Attribute.GetTypeInfo | (Inherited from Attribute.) | |
_Attribute.GetTypeInfoCount | (Inherited from Attribute.) | |
_Attribute.Invoke | (Inherited from Attribute.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.