RazorDirectiveAttributeCodeGenerator(String, String) 构造函数

定义

此类型/成员支持 .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

指令特性的值。

适用于