Partage via


ScriptReference.IgnoreScriptPath Propriété

Définition

Attention

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

Obtient ou définit une valeur qui indique si la propriété ScriptPath est incluse dans l'URL lorsque vous inscrivez un fichier de script client d'une ressource.

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

Valeur de propriété

Boolean

true si le chemin d'accès au script n'est pas utilisé lorsque vous inscrivez le script client ; sinon, false.

Attributs

Remarques

Vous définissez IgnoreScriptPath true la valeur lorsque vous souhaitez inscrire un fichier de script client sans inclure la valeur dans l’URL ScriptPath du fichier de script.

S’applique à