AttributeBlockCodeGenerator 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
此类型/成员支持.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>
后缀字符串。