ScriptReference.IgnoreScriptPath 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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.
- 属性
注解
如果要注册客户端脚本文件而不在IgnoreScriptPath脚本文件的 URL 中包含值,则设置为trueScriptPath该设置。