ScriptReference.IgnoreScriptPath Properti

Definisi

Perhatian

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

Mendapatkan atau menetapkan nilai yang menunjukkan apakah ScriptPath properti disertakan dalam URL saat Anda mendaftarkan file skrip klien dari sumber daya.

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

Nilai Properti

true jika jalur skrip tidak digunakan saat Anda mendaftarkan skrip klien; jika tidak, false.

Atribut

Keterangan

Anda mengatur IgnoreScriptPath ke true ketika Anda ingin mendaftarkan file skrip klien tanpa menyertakan ScriptPath nilai dalam URL file skrip.

Berlaku untuk