BuildProvider.VirtualPath Property

Represents the file to be built by this build provider implementation.

Namespace: System.Web.Compilation
Assembly: System.Web (in system.web.dll)

protected internal string VirtualPath { get; }
/** @property */
protected String get_VirtualPath ()

protected internal function get VirtualPath () : String

Not applicable.

Property Value

A read-only string that specifies the virtual path of a file to be compiled by this build provider.

The virtual path of a BuildProvider object is the path to a file within an ASP.NET application. The file extension of each file within the application determines the file type, and the corresponding build provider for the file type. The ASP.NET build environment initializes a BuildProvider object for each file based on the file type, and uses the BuildProvider methods to generate source for each file.

For more information about configuring a build provider, see buildProviders Element for compilation (ASP.NET Settings Schema).

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: