Export (0) Print
Expand All

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)

[TypeConverterAttribute(typeof(WhiteSpaceTrimStringConverter))] 
public string DirectoryName { get; set; }
/** @property */
public String get_DirectoryName ()

/** @property */
public void set_DirectoryName (String value)

public function get DirectoryName () : String

public function set DirectoryName (value : String)

Not applicable.

Property Value

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.

Windows 98, Windows Server 2000 SP4, 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:
© 2014 Microsoft