HttpConfigurationContext.VirtualPath Property

Definition

Gets the virtual path to the Web.config configuration file.

public:
 property System::String ^ VirtualPath { System::String ^ get(); };
public string VirtualPath { get; }
member this.VirtualPath : string
Public ReadOnly Property VirtualPath As String

Property Value

The virtual path to the Web.config file. Null when evaluating Machine.config; an empty string ("") when evaluating the root Web.config file for the site.

Applies to