ScriptReference.IgnoreScriptPath Eigenschap

Definitie

Let op

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

Hiermee wordt een waarde opgehaald of ingesteld die aangeeft of de ScriptPath eigenschap is opgenomen in de URL wanneer u een clientscriptbestand van een resource registreert.

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

Waarde van eigenschap

true als het scriptpad niet wordt gebruikt wanneer u het clientscript registreert; anders, false.

Kenmerken

Opmerkingen

U stelt in IgnoreScriptPath op true wanneer u een clientscriptbestand wilt registreren zonder de ScriptPath waarde op te geven in de URL van het scriptbestand.

Van toepassing op