แก้ไข

แชร์ผ่าน


ScriptManager.GetRegisteredDisposeScripts Method

Definition

Retrieves a read-only collection of dispose scripts that were previously registered with the Page object.

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)

Returns

A generic collection that contains dispose scripts.

Remarks

A dispose script executes when the UpdatePanel control is updated or deleted.

Applies to

See also