CodeSubDirectory.DirectoryName Właściwość

Definicja

Pobiera lub ustawia nazwę katalogu zawierającego pliki skompilowane w czasie wykonywania.

public:
 property System::String ^ DirectoryName { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.WhiteSpaceTrimStringConverter))]
[System.Configuration.ConfigurationProperty("directoryName", DefaultValue="", IsKey=true, IsRequired=true)]
public string DirectoryName { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.WhiteSpaceTrimStringConverter))>]
[<System.Configuration.ConfigurationProperty("directoryName", DefaultValue="", IsKey=true, IsRequired=true)>]
member this.DirectoryName : string with get, set
Public Property DirectoryName As String

Wartość właściwości

Wartość ciągu określająca nazwę odwołania do katalogu używanego podczas kompilacji.

Atrybuty

Uwagi

Atrybut directoryNameadd elementu konfiguracji jest przeszukiwany tylko ze \App_Code ścieżki, dlatego dodanie directoryName="\App_Code\Applogic" jest nieprawidłowe.

Dotyczy