System.Web.UI.VirtualReferenceType Enumeration

Specifies the type of resource referenced by a parsed virtual path.

Syntax

public enum VirtualReferenceType

Remarks

The System.Web.UI.VirtualReferenceType enumeration describes the type of resource referenced by a virtual path. The System.Web.UI.VirtualReferenceType is determined from the parsed extension of the resource.

Page and control developers do not use the System.Web.UI.VirtualReferenceType enumeration directly. Extensibility developers might use the System.Web.UI.VirtualReferenceType enumeration when extending the System.Web.UI.PageParserFilter class and overriding its PageParserFilter.AllowVirtualReference(string, VirtualReferenceType) method.

Members

Member NameDescription
Master

The parsed virtual path references a master page file.

Other

The parsed virtual path references a resource that is not an ASP.NET page, master page, user control, or language-specific code file.

Page

The parsed virtual path references an ASP.NET page.

SourceFile

The parsed virtual path references a code file that is compiled using a specific language compiler.

UserControl

The parsed virtual path references an ASP.NET user control.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0