ScriptManager.GetRegisteredDisposeScripts 方法
定义
public:
System::Collections::ObjectModel::ReadOnlyCollection<System::Web::UI::RegisteredDisposeScript ^> ^ GetRegisteredDisposeScripts();
public System.Collections.ObjectModel.ReadOnlyCollection<System.Web.UI.RegisteredDisposeScript> GetRegisteredDisposeScripts ();
member this.GetRegisteredDisposeScripts : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.Web.UI.RegisteredDisposeScript>
Public Function GetRegisteredDisposeScripts () As ReadOnlyCollection(Of RegisteredDisposeScript)
返回
一个包含 dispose 脚本的泛型集合。A generic collection that contains dispose scripts.
注解
dispose当 UpdatePanel 更新或删除该控件时,将执行脚本。A dispose script executes when the UpdatePanel control is updated or deleted.