VirtualReferenceType 枚举

定义

指定分析的虚拟路径引用的资源的类型。

public enum class VirtualReferenceType
public enum VirtualReferenceType
type VirtualReferenceType = 
Public Enum VirtualReferenceType
继承
VirtualReferenceType

字段

名称 说明
Page 0

分析的虚拟路径引用 ASP.NET 页。

UserControl 1

分析的虚拟路径引用 ASP.NET 用户控件。

Master 2

分析的虚拟路径引用母版页文件。

SourceFile 3

分析的虚拟路径引用使用特定语言编译器编译的代码文件。

Other 4

分析的虚拟路径引用的资源不是 ASP.NET 页、母版页、用户控件或特定于语言的代码文件。

注解

枚举 VirtualReferenceType 描述虚拟路径引用的资源的类型。 根据 VirtualReferenceType 资源分析的扩展确定。

页面和控制开发人员不直接使用 VirtualReferenceType 枚举。 扩展性开发人员可以在扩展VirtualReferenceType类并重写其PageParserFilter方法时使用AllowVirtualReference枚举。

适用于

另请参阅