WebFormsRootDesigner.AddClientScriptToDocument(ClientScriptItem) 方法

定义

在派生类中重写时,向当前 Web 窗体页中添加一个客户端脚本元素。

public:
 abstract void AddClientScriptToDocument(System::Web::UI::Design::ClientScriptItem ^ scriptItem);
public abstract void AddClientScriptToDocument (System.Web.UI.Design.ClientScriptItem scriptItem);
abstract member AddClientScriptToDocument : System.Web.UI.Design.ClientScriptItem -> unit
Public MustOverride Sub AddClientScriptToDocument (scriptItem As ClientScriptItem)

参数

scriptItem
ClientScriptItem

要添加到 Web 窗体页中的 ClientScriptItem

适用于

另请参阅