VirtualReferenceType 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定分析的虚拟路径引用的资源的类型。
public enum class VirtualReferenceType
public enum VirtualReferenceType
type VirtualReferenceType =
Public Enum VirtualReferenceType
- 继承
字段
| 名称 | 值 | 说明 |
|---|---|---|
| Page | 0 | 分析的虚拟路径引用 ASP.NET 页。 |
| UserControl | 1 | 分析的虚拟路径引用 ASP.NET 用户控件。 |
| Master | 2 | 分析的虚拟路径引用母版页文件。 |
| SourceFile | 3 | 分析的虚拟路径引用使用特定语言编译器编译的代码文件。 |
| Other | 4 | 分析的虚拟路径引用的资源不是 ASP.NET 页、母版页、用户控件或特定于语言的代码文件。 |
注解
枚举 VirtualReferenceType 描述虚拟路径引用的资源的类型。 根据 VirtualReferenceType 资源分析的扩展确定。
页面和控制开发人员不直接使用 VirtualReferenceType 枚举。 扩展性开发人员可以在扩展VirtualReferenceType类并重写其PageParserFilter方法时使用AllowVirtualReference枚举。