ScriptManager.GetRegisteredDisposeScripts 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索先前已向 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执行。