ScriptReferenceBase 类

定义

所有脚本引用类的基类。The base class for all script reference classes.

public ref class ScriptReferenceBase abstract
public abstract class ScriptReferenceBase
type ScriptReferenceBase = class
Public MustInherit Class ScriptReferenceBase
继承
ScriptReferenceBase
派生

构造函数

ScriptReferenceBase()

初始化 ScriptReferenceBase 类的新实例。Initializes a new instance of the ScriptReferenceBase class.

属性

NotifyScriptLoaded

获取或设置一个值,该值指示 ScriptResourceHandler 对象是否在 ECMAScript (JavaScript) 文件末尾自动添加代码来调用 Sys.Application 类的客户端 NotifyScriptLoaded 方法。Gets or sets a value that indicates whether the ScriptResourceHandler object automatically adds code at the end of the ECMAScript (JavaScript) file to call the client NotifyScriptLoaded method of the Sys.Application class.

Path

获取或设置引用客户端脚本文件相对于网页的路径。Gets or sets the path of the referenced client script file, relative to the Web page.

ResourceUICultures

获取或设置 Path 属性支持的 UI 区域性的逗号分隔列表。Gets or sets a comma-delimited list of UI cultures that are supported by the Path property.

ScriptMode

获取或设置要使用的客户端脚本文件的版本(发布版本或调试版本)。Gets or sets the version of the client script file (release or debug) to use.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
GetUrl(ScriptManager, Boolean)

检索呈现为 src 元素的 script 特性值的 URL。Retrieves the URL that is rendered as the value of the src attribute of the script element.

IsAjaxFrameworkScript(ScriptManager)

确定指定的脚本引用是否为 ASP.NET AJAX 脚本。Determines whether the specified script reference is an ASP.NET AJAX script.

IsFromSystemWebExtensions()

指示复合脚本是否包含对 ASP.NET AJAX 框架脚本的引用。Indicates whether the composite script contains a reference to an ASP.NET AJAX framework script.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ReplaceExtension(String)

替换指定脚本路径中的文件扩展名以指定调试脚本。Replaces the file-name extension in the specified script path to designate a debug script.

ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于