ScriptManager.GetRegisteredStartupScripts 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取先前註冊於物件 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)
傳回
一個包含啟動腳本的通用集合。
範例
備註
啟動腳本是與控制項相關聯的用戶端腳本,當控制項啟動時執行。