CodeSubDirectory.DirectoryName Property

 

Gets or sets the name of the directory that contains files compiled at run time.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

[ConfigurationPropertyAttribute("directoryName", IsRequired = true, 
	IsKey = true, DefaultValue = "")]
[TypeConverterAttribute(typeof(WhiteSpaceTrimStringConverter))]
public string DirectoryName { get; set; }

Property Value

Type: System.String

A string value specifying the name of the directory reference used during compilation.

A directoryName attribute of an add element of the configuration is searched only from the \App_Code path; therefore, adding directoryName="\App_Code\Applogic" is not valid.

.NET Framework
Available since 2.0
Return to top
Show: