Sdílet prostřednictvím


ScriptManager.GetRegisteredStartupScripts Metoda

Definice

Načte kolekci spouštěcích skriptů jen pro čtení, které byly dříve zaregistrované v objektu Page .

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)

Návraty

ReadOnlyCollection<RegisteredScript>

Obecná kolekce, která obsahuje spouštěcí skripty.

Příklady

RegisterStartupScript

RegisterStartupScript

GetRegisteredStartupScripts

Poznámky

Spouštěcí skript je klientský skript přidružený k ovládacímu prvku, který se spustí při spuštění ovládacího prvku.

Platí pro