Share via


ScriptReference.IgnoreScriptPath Propriedade

Definição

Cuidado

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

Obtém ou define um valor que indica se a propriedade ScriptPath está incluída na URL ao registrar um arquivo de script de cliente de um 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 da propriedade

true se o caminho do script não for usado quando você registrar o script do cliente; caso contrário, false.

Atributos

Comentários

Você define IgnoreScriptPath como true quando deseja registrar um arquivo de script do cliente sem incluir o ScriptPath valor na URL do arquivo de script.

Aplica-se a