다음을 통해 공유


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

설명

시작 스크립트는 컨트롤이 시작될 때 실행되는 컨트롤과 연결된 클라이언트 스크립트입니다.

적용 대상