ScriptManager.GetRegisteredOnSubmitStatements 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取先前註冊於該onsubmit物件的唯讀語句集合Page。
public:
System::Collections::ObjectModel::ReadOnlyCollection<System::Web::UI::RegisteredScript ^> ^ GetRegisteredOnSubmitStatements();
public System.Collections.ObjectModel.ReadOnlyCollection<System.Web.UI.RegisteredScript> GetRegisteredOnSubmitStatements();
member this.GetRegisteredOnSubmitStatements : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.Web.UI.RegisteredScript>
Public Function GetRegisteredOnSubmitStatements () As ReadOnlyCollection(Of RegisteredScript)
傳回
一個包含 onsubmit 陳述的通用集合。
範例
備註
一個 onsubmit 陳述句是 ECMAScript(JavaScript),在表單提交時執行。