Editar

Compartilhar via


ScriptManager.GetRegisteredStartupScripts Method

Definition

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

public:
 System::Collections::ObjectModel::ReadOnlyCollection<System::Web::UI::RegisteredScript ^> ^ GetRegisteredStartupScripts();
public System.Collections.ObjectModel.ReadOnlyCollection<System.Web.UI.RegisteredScript> GetRegisteredStartupScripts ();
member this.GetRegisteredStartupScripts : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.Web.UI.RegisteredScript>
Public Function GetRegisteredStartupScripts () As ReadOnlyCollection(Of RegisteredScript)

Returns

A generic collection that contains startup scripts.

Examples

RegisterStartupScript

RegisterStartupScript

GetRegisteredStartupScripts

Remarks

A startup script is client script that is associated with a control that executes when the control is started.

Applies to