ScriptReference.IgnoreScriptPath Eigenschaft

Definition

Achtung

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

Ruft beim Registrieren einer Clientskriptdatei von einer Ressource einen Wert ab, der angibt, ob in der URL die ScriptPath-Eigenschaft enthalten ist, oder legt diesen fest.

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

Boolean

true, wenn beim Registrieren des Clientskripts der Skriptpfad nicht verwendet wird, andernfalls false.

Attribute

Hinweise

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

Gilt für