SectionCodeGenerator 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
此类型/成员支持.NET Framework基础结构,不应直接从代码使用。表示节代码生成器。
public class SectionCodeGenerator : System.Web.Razor.Generator.BlockCodeGeneratortype SectionCodeGenerator = class
    inherit BlockCodeGeneratorPublic Class SectionCodeGenerator
Inherits BlockCodeGenerator- 继承
构造函数
| SectionCodeGenerator(String) | 此类型/成员支持.NET Framework基础结构,不应直接从代码使用。初始化 类的新实例SectionCodeGenerator。 | 
属性
| SectionName | 此类型/成员支持.NET Framework基础结构,不应直接从代码使用。获取或设置节的名称。 | 
方法
| Equals(Object) | 此类型/成员支持.NET Framework基础结构,不应直接从代码使用。确定指定的对象是否等于当前对象。 | 
| GenerateEndBlockCode(Block, CodeGeneratorContext) | 此类型/成员支持.NET Framework基础结构,不应直接从代码使用。在节代码后面生成块。 | 
| GenerateStartBlockCode(Block, CodeGeneratorContext) | 此类型/成员支持.NET Framework基础结构,不应直接从代码使用。在节代码前生成块。 | 
| GetHashCode() | 此类型/成员支持.NET Framework基础结构,不应直接从代码使用。检索此当前实例的哈希代码。 | 
| ToString() | 此类型/成员支持.NET Framework基础结构,不应直接从代码使用。返回此当前实例的字符串表示形式。 |