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

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

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

Атрибуты

Комментарии

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

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