ScriptManager.GetRegisteredStartupScripts メソッド

定義

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)

戻り値

ReadOnlyCollection<RegisteredScript>

起動スクリプトを含むジェネリック コレクション。

RegisterStartupScript

RegisterStartupScript

GetRegisteredStartupScripts

注釈

スタートアップ スクリプトは、コントロールの起動時に実行されるコントロールに関連付けられているクライアント スクリプトです。

適用対象