ScriptReference.IgnoreScriptPath Eigenschaft

Definition

Achtung

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

Dient zum Abrufen oder Festlegen eines Werts, der angibt, ob die ScriptPath Eigenschaft in der URL enthalten ist, wenn Sie eine Clientskriptdatei aus einer Ressource registrieren.

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

Eigenschaftswert

truewenn der Skriptpfad beim Registrieren des Clientskripts nicht verwendet wird; andernfalls . false

Attribute

Hinweise

Sie legen fest IgnoreScriptPathtrue , wann Sie eine Clientskriptdatei registrieren möchten, ohne den ScriptPath Wert in die URL der Skriptdatei einzuschl.

Gilt für: