Язык

CodeSubDirectory.DirectoryName Свойство

Определение

Возвращает или задает имя каталога, содержащего файлы, скомпилированные во время выполнения.

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

Значение свойства

Строковое значение, указывающее имя ссылки на каталог, используемый во время компиляции.

Атрибуты

Комментарии

Атрибут directoryNameadd элемента конфигурации выполняется поиск только из \App_Code пути. Поэтому добавление directoryName="\App_Code\Applogic" недопустимо.

Применяется к