Share via


ScriptManager.GetRegisteredDisposeScripts 方法

定義

擷取 dispose 指令碼的唯讀集合,該指令碼先前是向 Page 物件註冊。

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 執行。

適用於

另請參閱