ScriptReference.IgnoreScriptPath プロパティ

定義

注意事項

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

リソースからクライアント スクリプト ファイルを登録するときに、 ScriptPath プロパティを URL に含めるかどうかを示す値を取得または設定します。

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

プロパティ値

true クライアント スクリプトを登録するときにスクリプト パスが使用されない場合。それ以外の場合は false

属性

注釈

スクリプト ファイルの URL にScriptPath値を含めずにクライアント スクリプト ファイルを登録する場合は、IgnoreScriptPathtrueに設定します。

適用対象