Поделиться через


ScriptReference.IgnoreScriptPath Свойство

Определение

Внимание!

This property is obsolete. Instead of using ScriptManager.ScriptPath, set the Path property on each individual ScriptReference.

Возвращает или задает значение, указывающее включено ли свойство ScriptPath в URL — адрес при регистрации пользовательского файла скрипта из ресурса.

public:
 property bool IgnoreScriptPath { bool get(); void set(bool value); };
public bool IgnoreScriptPath { get; set; }
[System.Obsolete("This property is obsolete. Instead of using ScriptManager.ScriptPath, set the Path property on each individual ScriptReference.")]
public bool IgnoreScriptPath { get; set; }
member this.IgnoreScriptPath : bool with get, set
[<System.Obsolete("This property is obsolete. Instead of using ScriptManager.ScriptPath, set the Path property on each individual ScriptReference.")>]
member this.IgnoreScriptPath : bool with get, set
Public Property IgnoreScriptPath As Boolean

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

Boolean

true, если путь скрипта не используется при регистрации пользовательского скрипта, в противном случае — false.

Атрибуты

Комментарии

IgnoreScriptPath true Если вы хотите зарегистрировать файл скрипта клиента, не включив ScriptPath значение в URL-адрес файла скрипта.

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