Share via


ScriptManager.GetRegisteredDisposeScripts 方法

定义

检索先前已向 Page 对象注册的 dispose 脚本的只读集合。

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 脚本的泛型集合。

注解

dispose脚本在控件更新或删除时UpdatePanel执行。

适用于

另请参阅