ScriptReference.IgnoreScriptPath Egenskap

Definition

Varning

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

Hämtar eller anger ett värde som anger om ScriptPath egenskapen ingår i URL:en när du registrerar en klientskriptfil från en resurs.

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

Egenskapsvärde

trueom skriptsökvägen inte används när du registrerar klientskriptet; annars . false

Attribut

Kommentarer

Du anger IgnoreScriptPath till true när du vill registrera en klientskriptfil utan att inkludera ScriptPath värdet i URL:en för skriptfilen.

Gäller för