AttributeBlockCodeGenerator 构造函数

定义

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

public AttributeBlockCodeGenerator(string name, System.Web.Razor.Text.LocationTagged<string> prefix, System.Web.Razor.Text.LocationTagged<string> suffix);
new System.Web.Razor.Generator.AttributeBlockCodeGenerator : string * System.Web.Razor.Text.LocationTagged<string> * System.Web.Razor.Text.LocationTagged<string> -> System.Web.Razor.Generator.AttributeBlockCodeGenerator
Public Sub New (name As String, prefix As LocationTagged(Of String), suffix As LocationTagged(Of String))

参数

name
String

名称。

prefix
LocationTagged<String>

前缀字符串。

suffix
LocationTagged<String>

后缀字符串。

适用于