ScriptReference.IgnoreScriptPath Właściwość

Definicja

Przestroga

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

Pobiera lub ustawia wartość wskazującą, czy ScriptPath właściwość jest uwzględniona w adresie URL podczas rejestrowania pliku skryptu klienta z zasobu.

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

Wartość właściwości

Boolean

true jeśli ścieżka skryptu nie jest używana podczas rejestrowania skryptu klienta; w przeciwnym razie , false.

Atrybuty

Uwagi

Należy ustawić wartość , IgnoreScriptPath true jeśli chcesz zarejestrować plik skryptu klienta bez uwzględniania ScriptPath wartości w adresie URL pliku skryptu.

Dotyczy