RazorDirectiveAttribute 类

定义

此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 表示 Razor 指令的特性。

[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
继承
RazorDirectiveAttribute
属性

构造函数

RazorDirectiveAttribute(String, String)

此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 初始化 RazorDirectiveAttribute 类的新实例。

属性

Name

此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 获取或设置属性的名称。

TypeId

此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 获取特性的唯一类型 ID。

Value

此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 获取或设置特性的值。

方法

Equals(Object)

此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 确定此实例是否等于指定的对象。

GetHashCode()

此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 返回此实例的哈希代码。

适用于