ScriptReference.IgnoreScriptPath Tulajdonság

Definíció

Figyelemfelhívás

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

Lekéri vagy beállít egy értéket, amely jelzi, hogy a ScriptPath tulajdonság szerepel-e az URL-címben, amikor ügyfélszkriptfájlt regisztrál egy erőforrásból.

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

Tulajdonság értéke

trueha a szkript elérési útját nem használja az ügyfélszkript regisztrálásakor; egyéb esetben. false

Attribútumok

Megjegyzések

IgnoreScriptPath true Ha ügyfélszkriptfájlt szeretne regisztrálni anélkül, hogy a ScriptPath szkriptfájl URL-címében szerepeljen az érték.

A következőre érvényes: