RazorDirectiveAttributeCodeGenerator(String, String) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 初始化 RazorDirectiveAttributeCodeGenerator 类的新实例。
public RazorDirectiveAttributeCodeGenerator(string name, string value);
new System.Web.Razor.Generator.RazorDirectiveAttributeCodeGenerator : string * string -> System.Web.Razor.Generator.RazorDirectiveAttributeCodeGenerator
Public Sub New (name As String, value As String)
参数
- name
- String
指令特性的名称。
- value
- String
指令特性的值。