DirectoryName Property
Collapse the table of content
Expand the table of content

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)

public:
[ConfigurationPropertyAttribute("directoryName", IsRequired = true, 
	IsKey = true, DefaultValue = "")]
[TypeConverterAttribute((WhiteSpaceTrimStringConverter^::typeid))]
property String^ DirectoryName {
	String^ get();
	void set(String^ value);
}

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:
© 2016 Microsoft