ScriptReference.IgnoreScriptPath Propiedad

Definición

Precaución

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

Obtiene o establece un valor que indica si la ScriptPath propiedad se incluye en la dirección URL al registrar un archivo de script de cliente desde un recurso.

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

Valor de propiedad

true si la ruta de acceso del script no se usa al registrar el script de cliente; de lo contrario, false.

Atributos

Comentarios

Se establece IgnoreScriptPathtrue en cuando desea registrar un archivo de script de cliente sin incluir el ScriptPath valor en la dirección URL del archivo de script.

Se aplica a