ScriptReference.IgnoreScriptPath プロパティ

定義

注意事項

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

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

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 にtrue値を含めずにクライアント スクリプト ファイルをScriptPath登録する場合は、 を に設定IgnoreScriptPathします。

適用対象